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 164826 - [patch] Avidemux doesn't handle seek on audiopads
[patch] Avidemux doesn't handle seek on audiopads
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other All
: High normal
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-21 15:01 UTC by Edward Hervey
Modified: 2005-01-27 10:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GstAVIDemux : Enables seek on audio pads (769 bytes, patch)
2005-01-21 15:06 UTC, Edward Hervey
accepted-commit_now Details | Review
GstMad : forward seek event patch (980 bytes, patch)
2005-01-21 15:08 UTC, Edward Hervey
none Details | Review
GstMad : Patch that forwards seek events upstream (4.40 KB, patch)
2005-01-22 15:26 UTC, Edward Hervey
needs-work Details | Review
GstMad : forward seek event patch v2 (898 bytes, patch)
2005-01-25 12:39 UTC, Edward Hervey
none Details | Review

Description Edward Hervey 2005-01-21 15:01:23 UTC
avidemux doesn't handle seek on audiopads. I've uncommented the few lines of
code that prevented avidemux for handling them and corrected gstmad.c so it
forwards the seek event and allows seek for non-vbr mp3 streams.
Comment 1 Edward Hervey 2005-01-21 15:06:26 UTC
Created attachment 36334 [details] [review]
GstAVIDemux : Enables seek on audio pads
Comment 2 Edward Hervey 2005-01-21 15:08:44 UTC
Created attachment 36335 [details] [review]
GstMad : forward seek event patch

This patch forwards the seek event upstream. If the seek isn't handled or
returns FALSE, gst_mad_src_event will return FALSE.
Comment 3 Edward Hervey 2005-01-22 15:26:06 UTC
Created attachment 36378 [details] [review]
GstMad : Patch that forwards seek events upstream

This patch is a bit cleaner (removed unused normal_seek and index_seek)
Comment 4 Maciej Katafiasz 2005-01-24 12:01:46 UTC
Bumping prio as it's a patch. Unfortunately can't test if it works, as mp3 dies
horrible death when seeking on my box, no clue why and don't have time to
troubleshoot it atm.
Comment 5 Ronald Bultje 2005-01-25 11:49:51 UTC
Comment on attachment 36334 [details] [review]
GstAVIDemux : Enables seek on audio pads

Simple, good.
Comment 6 Ronald Bultje 2005-01-25 11:50:11 UTC
Comment on attachment 36378 [details] [review]
GstMad : Patch that forwards seek events upstream

The mad patch is wrong. You shouldn't *only* forward seek events, that breaks
seeking in mp3 files. You should forward and, if that fails (e.g. for mp3
files), you should use the conventional seeking methods.
Comment 7 Edward Hervey 2005-01-25 12:39:23 UTC
Created attachment 36503 [details] [review]
GstMad : forward seek event patch v2

This patch forwards the seek upstream, and if that fails try with mad's
normal_seek or index_seek.
Comment 8 Ronald Bultje 2005-01-27 10:06:23 UTC
That looks good, so applied.