After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 159864 - avidemux sends GST_EVENT_DISCONTINUOUS
avidemux sends GST_EVENT_DISCONTINUOUS
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.5
Other Linux
: Normal normal
: 0.8.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-29 16:00 UTC by Sebastien Cote
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed fix (446 bytes, patch)
2004-11-29 17:48 UTC, Sebastien Cote
none Details | Review

Description Sebastien Cote 2004-11-29 16:00:33 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.
Comment 1 Ronald Bultje 2004-11-29 17:08:06 UTC
Confirmed, it shouldn't do that - it already sends intended disconts manually.
Can you provide a patch?
Comment 2 Sebastien Cote 2004-11-29 17:48:10 UTC
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()?
Comment 3 Ronald Bultje 2004-12-01 13:22:55 UTC
applied, thanks.