[mythtv-commits] mythtv commit: r25889 by nigel
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Fri Aug 27 07:19:11 UTC 2010
Author: nigel
Date: 2010-08-27 07:19:11 +0000 (Fri, 27 Aug 2010)
New Revision: 25889
Changeset: http://svn.mythtv.org/trac/changeset/25889
Log:
Better codec descriptions (than MPEG2) in the themed INFO OSD. Refs #8656.
Currently, MythPlayer::GetEncodingType() uses GetVideoCodecID(),
which only iterates some of the FFmpeg codecs (plus, AVF's video_codec_id
is often mapped to MPEG2 in ScanStream()). Basically, a more opaque way of
getting codec descriptions was needed, and what is more opaque than a string?
Technically, this changes the library API, but since only libmythtv is
calling the extra method, no version change - to save a full recompile.
Modified:
trunk/mythtv/libs/libmythtv/avformatdecoder.cpp
trunk/mythtv/libs/libmythtv/avformatdecoder.h
trunk/mythtv/libs/libmythtv/decoderbase.h
trunk/mythtv/libs/libmythtv/dummydecoder.h
trunk/mythtv/libs/libmythtv/mythplayer.cpp
trunk/mythtv/libs/libmythtv/nuppeldecoder.cpp
trunk/mythtv/libs/libmythtv/nuppeldecoder.h
More information about the mythtv-commits
mailing list