GNOME Bugzilla – Bug 159864
avidemux sends GST_EVENT_DISCONTINUOUS
Last modified: 2004-12-22 21:47:04 UTC
The avidemux sends GST_EVENT_DISCONTINUOUS for valid AVI files. This event comes from gst_riff_peek_head() in riff-read.c: 240 /* read */ 241 while (gst_bytestream_peek_bytes (riff->bs, &data, 8) != 8) { 242 if (!gst_riff_read_handle_event (riff)) 243 return FALSE; 244 } If you transcode an AVI to MP3, lame forwards the DISCONT event to the filesink so you get a huge output file.
Confirmed, it shouldn't do that - it already sends intended disconts manually. Can you provide a patch?
Created attachment 34283 [details] [review] proposed fix This gets rid of my problem, but I'm not sure it is right. Maybe checking for DISCONT should be done in gst_riff_peek_head()?
applied, thanks.