Minor changes on functions names and variables
This commit is contained in:
1 parent
50fd611291
commit
b9aecade42
7 files changed
+57
-34
No files matched your search
@@ -153,7 +153,7 @@ Bool LibAvContextHandle::initAvFormat( char* filename, UInt& width, UInt& height
|
||||
|
||||
const char *codec_name = avcodec_get_name(video_dec_ctx->codec_id);
|
||||
|
||||
sprintf(m_acStreamInformationString, "%s ", codec_name);
|
||||
sprintf(m_acCodecName, "%s ", codec_name);
|
||||
|
||||
Double fr = 30;
|
||||
if( video_stream->avg_frame_rate.den && video_stream->avg_frame_rate.num )
|
||||
|
||||
@@ -65,9 +65,9 @@ public:
|
||||
{
|
||||
return m_bHasStream;
|
||||
}
|
||||
Char* getStreamInformation()
|
||||
Char* getCodecName()
|
||||
{
|
||||
return m_acStreamInformationString;
|
||||
return m_acCodecName;
|
||||
}
|
||||
|
||||
uint8_t *video_dst_data[4];
|
||||
@@ -84,7 +84,7 @@ private:
|
||||
|
||||
Bool m_bHasStream;
|
||||
|
||||
Char m_acStreamInformationString[20];
|
||||
Char m_acCodecName[20];
|
||||
};
|
||||
|
||||
} // NAMESPACE
|
||||
|
||||
Reference in new issue
Block a user