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 330885 - avidemux does not handle eos at end of seek-region
avidemux does not handle eos at end of seek-region
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.2
Other Linux
: Normal normal
: 0.10.3
Assigned To: Edward Hervey
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-12 13:36 UTC by Mark Nauwelaerts
Modified: 2006-02-13 10:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Possible patch (2.01 KB, patch)
2006-02-12 13:46 UTC, Mark Nauwelaerts
none Details | Review

Description Mark Nauwelaerts 2006-02-12 13:36:02 UTC
When receiving a seek request (segmenting or not), avidemux performs seek OK.
However, it continues streaming past the end of the requested "segment" and only acts at the end-of-file, either by sending EOS-event or posting segment_done.
As such, seamless looping (for a fragment) or similar is not possible, since avidemux does not stop sending data and does not inform application.
Comment 1 Mark Nauwelaerts 2006-02-12 13:46:36 UTC
Created attachment 59178 [details] [review]
Possible patch

Resolves problem by having avidemux announce end-of-stream/segment when it finds the first keyframe beyond the request segment seek-region.
Comment 2 Andy Wingo 2006-02-13 10:07:26 UTC
Assigning to Edward. Thanks for the patch!
Comment 3 Edward Hervey 2006-02-13 10:47:49 UTC
Commited, thanks for the fix :)

2006-02-13  Mark Nauwelaerts <manauw@skynet.be>

	Reviewed by: Edward Hervey  <edward@fluendo.com>

	* gst/avi/gstavidemux.c: (gst_avi_demux_process_next_entry):
	Properly handle end of segment. Closes #330885.