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

MythTV noreply at mythtv.org
Sat Oct 15 15:44:12 UTC 2011


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2011-10-15T08:41:50-07:00
   Push Date:  2011/10/15 08:44:00 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  15d65ae2c41d44f037d1b934d0e6750939f22bb3
   Changeset:  https://github.com/MythTV/mythtv/commit/15d65ae2c

Log:

DVB Radio: Refactor generation of dummy video frames.

- Fill the video buffers completely on each call instead of creating one
frame for each call to AvFormatDecoder::GetFrame. Audio or MHEG only
streams may have very low bitrates and the player will otherwise be
starved of buffers.

- Don't create a dummy frame, just ask the player to clear the returned
frame. This will allow the VideoOutput method to clear frames in GPU
memory OR just ignore the dummy frame when it is not required for
display (e.g. VDPAU, VAAPI, OpenGL, DXVA2).

Ref #9824

Modified:

   mythtv/libs/libmythtv/avformatdecoder.cpp
   mythtv/libs/libmythtv/avformatdecoder.h
   mythtv/libs/libmythtv/frame.h
   mythtv/libs/libmythtv/mythplayer.cpp
   mythtv/libs/libmythtv/mythplayer.h
   mythtv/libs/libmythtv/videooutbase.h



More information about the mythtv-commits mailing list