File indexing completed on 2025-01-19 03:57:06

0001 /*********************************************************
0002  * Copyright (C) 2020, Val Doroshchuk <valbok@gmail.com> *
0003  *                                                       *
0004  * This file is part of QtAVPlayer.                      *
0005  * Free Qt Media Player based on FFmpeg.                 *
0006  *********************************************************/
0007 
0008 #ifndef QAVFSUBTITLERAME_H
0009 #define QAVFSUBTITLERAME_H
0010 
0011 #include <QtAVPlayer/qavstreamframe.h>
0012 
0013 QT_BEGIN_NAMESPACE
0014 
0015 struct AVSubtitle;
0016 class QAVSubtitleFramePrivate;
0017 class QAVSubtitleFrame : public QAVStreamFrame
0018 {
0019 public:
0020     QAVSubtitleFrame();
0021     ~QAVSubtitleFrame();
0022     QAVSubtitleFrame(const QAVSubtitleFrame &other);
0023     QAVSubtitleFrame &operator=(const QAVSubtitleFrame &other);
0024 
0025     AVSubtitle *subtitle() const;
0026 
0027 private:
0028     Q_DECLARE_PRIVATE(QAVSubtitleFrame)
0029 };
0030 
0031 Q_DECLARE_METATYPE(QAVSubtitleFrame)
0032 
0033 QT_END_NAMESPACE
0034 
0035 #endif