diff --git a/source/app/InputStream.cpp b/source/app/InputStream.cpp index 6c7aab2..9685cd5 100755 --- a/source/app/InputStream.cpp +++ b/source/app/InputStream.cpp @@ -185,7 +185,7 @@ Void InputStream::init( QString filename, UInt width, UInt height, Int input_for m_uiTotalFrameNum = ftell( m_pFile ) / ( frame_bytes_input ); fseek( m_pFile, 0, SEEK_SET ); - m_cFormatName = QString::fromUtf8("rawvideo "); + m_cFormatName = QString::fromUtf8("Raw Video"); } if( !getMem1D( &m_pInputBuffer, m_pcCurrFrame->getBytesPerFrame() ) ) @@ -196,7 +196,7 @@ Void InputStream::init( QString filename, UInt width, UInt height, Int input_for m_cStreamInformationString = QString( "[" ); m_cStreamInformationString.append( m_cFormatName ); - m_cStreamInformationString.append( QString("/ ")); + m_cStreamInformationString.append( QString(" / ")); m_cStreamInformationString.append( PlaYUVerFrame::supportedPixelFormatList().at( m_iPixelFormat ) ); m_cStreamInformationString.append( "] " ); m_cStreamInformationString.append( QFileInfo( m_cFilename ).fileName() ); diff --git a/source/lib/ffmpeg/LibAvContextHandle.cpp b/source/lib/ffmpeg/LibAvContextHandle.cpp index 7f83ef0..c9d9292 100755 --- a/source/lib/ffmpeg/LibAvContextHandle.cpp +++ b/source/lib/ffmpeg/LibAvContextHandle.cpp @@ -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_acCodecName, "%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 )