[mythtv-commits] mythtv commit: r15033 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Dec 3 21:43:47 UTC 2007

      Author: danielk
        Date: 2007-12-03 21:43:46 +0000 (Mon, 03 Dec 2007)
New Revision: 15033
   Changeset: http://cvs.mythtv.org/trac/changeset/15033




Fixes a segfault playing back certain video with H.263 decoder reported to me by greg.

The problem was with the allocator for Direct Rendered frames. Before the mythtv-vid branch we ignored the direct rendering directive for frames whose width wasn't an mpeg-2 width. The code to handle direct rendering for other frame sizes was added as part of getting DVDV decoding to work, but we didn't have a test case for one of the five allocation paths. Thankfully we added a debugging warning message when this path was run which allowed me to find the problem quickly.

With greg's test case I was able to test this code path and added the CODEC_FLAG_EMU_EDGE flag which prevents the segfault greg was seeing.

More information about the mythtv-commits mailing list