Add stream information into application title

This commit is contained in:
jfmcarreira committed 2014-02-04 23:57:43 +00:00
1 parent 57f5231e7b
commit ebecb1e3f5
9 files changed
+86 -32

No files matched your search

+11 -2
View File
@@ -64,6 +64,8 @@ private:
#endif
QString m_cFilename;
QString m_cStreamInformationString;
FILE* m_pFile; /**< The input file pointer >*/
Int m_iFileFormat;
Int m_iPixelFormat;
@@ -87,8 +89,6 @@ public:
static QStringList supportedReadFormatsList();
static QStringList supportedWriteFormatsList();
static QStringList supportedPixelFormatList();
enum InputStreamFormats
{
INVALID = -1, YUVFormat = 0, // Use color space.
@@ -97,6 +97,7 @@ public:
Bool needFormatDialog( QString filename );
Void init( QString filename, UInt width, UInt height, Int input_format, UInt frame_rate );
Void close();
Void readFrame();
@@ -115,6 +116,14 @@ public:
{
return m_iStatus;
}
QString getFileName()
{
return m_cFilename;
}
QString getStreamInformationString()
{
return m_cStreamInformationString;
}
UInt getFrameNum()
{
return m_uiTotalFrameNum;