[mythtv-commits] mythtv commit: r25441 by markk
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Jul 27 19:01:47 UTC 2010
Author: markk
Date: 2010-07-27 19:01:47 +0000 (Tue, 27 Jul 2010)
New Revision: 25441
Changeset: http://svn.mythtv.org/trac/changeset/25441
Modified:
trunk/mythtv/libs/libmythtv/avformatdecoder.cpp
trunk/mythtv/libs/libmythtv/avformatdecoder.h
trunk/mythtv/libs/libmythtv/decoderbase.h
trunk/mythtv/libs/libmythtv/nuppeldecoder.cpp
Log:
Extend the decoder track types to include video tracks, add video tracks
to the tracks as detected and use selectedTrack instead of
selectedVideoIndex in AvFormatDecoder.
This is the first step in adding audio only playback to
NuppelVideoPlayer by providing a method in DecoderBase to determine
audio only streams: GetTrackCount(kTrackTypeVideo)
N.B. libavformat typically selects only one video track even if there
are multiple video tracks in the stream so technically this is a little
OTT. It should however provide scope for track switching in the future.
More information about the mythtv-commits
mailing list