From: <vi...@po...> - 2001-10-26 23:40:32
|
On Fri, Oct 26, 2001 at 03:46:57PM -0700, vi...@po... wrote: > Here's the patch i made to verify that libmpeg2 is not getting restarted > after a DISCONTINUOUS event : mpeg2dec->decoder->is_sequence_needed = 1; > > Basically, as soon as is_sequence_needed gets set, i stop getting > vo * frame warnings even though g_warning ("mpeg2dec with %d", size); > keeps showing more data getting pumped into libmpeg2. > > This only happens with mpeg1. mpeg2 works flawlessly. i'm using > mpeg2dec-0.2.0.tar.gz and current gstreamer CVS. is_sequence_needed never gets unset. i printed the buffer i'm passing into mpeg2_decode_data and i see a 0xb3 every few hundred bytes. i tried mpeg2dec-0.2.1-cvs -- it failed in the same way. It seems like there is something strange about mpeg1 video steams that confuses decode.c:copy_chunk. What else can i try? Do you want to reproduce this on your box? -- Victory to the Divine Mother!! ... after all, http://sahajayoga.org http://why-compete.org |