[mythtv] [PATCH] pcHDTV: Use sequence-start headers when GOP headers are absent

Isaac Richards ijr at po.cwru.edu
Tue Jan 6 02:23:04 EST 2004


On Tuesday 06 January 2004 01:54 am, Jason Hoos wrote:
> Attached is the patch I was working on before the holidays to handle
> HDTV streams that don't have GOP headers in them.  It does away with
> my previous hack in hdtvrecorder.cpp of using picture start headers
> in favor of using sequence start headers, which would seem to be the
> correct way of doing things.  In addition, it updates
> avformatdecoder.cpp with the same logic, something I overlooked with
> the picture start stuff.  With this patch, my GOP-less station is
> working quite nicely now, with seeking and everything.

I've applied this, along with a seq counter similar to what you have in 
hdtvrecorder for avformatdecoder so that it doesn't trigger on all streams 
before the first GOP packet is seen.

Isaac


More information about the mythtv-dev mailing list