[mythtv] AvFormatDecoder::InitVideoCodec()

Stuart Auchterlonie stuarta at squashedfrog.net
Wed Oct 4 09:29:13 UTC 2006


Can anyone tell me the rationale behind the following code
from InitVideoCodec. I'm assuming it's to fix some odd
broken streams, but i'm interested in the details.

--
        if (align_width == 0 && align_height == 0)
        {
            VERBOSE(VB_PLAYBACK, LOC + "InitVideoCodec "
                    "failed to align dimensions, resetting decoder.");
            align_width = 640;
            align_height = 480;
            fps = 29.97;
            aspect_ratio = 4.0 / 3;
        }

--

Stuart



More information about the mythtv-dev mailing list