[mythtv-commits] mythtv/master commit: d3b95c8e6 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Mon Jun 20 06:22:08 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-06-19T23:21:41-07:00
   Push Date:  2011/06/19 23:22:02 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  d3b95c8e6d7ec39333ba7af4a473c0849c853355
   Changeset:  https://github.com/MythTV/mythtv/commit/d3b95c8e6

Log:

Use the current video aspect ratio if the video stream is reset.

In AvFormatDecoder, if a stream change is detected and no
new/replacement video stream is found, we choose some sensible defaults
and tell the player about the change. The video aspect ratio is however
reset to the default 4/3 - which immediately changes the currently
displayed frames. Instead use a pre-existing aspect ratio, which will be
4/3 by default if we haven't yet determined something more sensible.

This is only likely to be an issue with DVD playback, where we often get
stream updates piecemeal from the demuxer - the streams are reset and
some new audio streams added (no video found) and the new video stream
is added a 'short' period of time later.

Refs #9854

Modified:

   mythtv/libs/libmythtv/avformatdecoder.cpp



More information about the mythtv-commits mailing list