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 337945 - [oggdemux] segment stop position ignored
[oggdemux] segment stop position ignored
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-10 14:18 UTC by Edward Hervey
Modified: 2006-04-11 14:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edward Hervey 2006-04-10 14:18:35 UTC
Segment seeking in oggdemux is currently flawed.

When seeking from a to b with GST_SEEK_FLAG_SEGMENT, oggdemux will send out the proper newsegment, will start outputing data from a (or slightly before), but will carry on outputing data until the end of the file, when it will emit GST_MESSAGE_SEGMENT_DONE (with total duration as position).

Expected result:
oggdemux should stop outputing once it has emitted the last packet after stop position and post GST_MESSAGE_SEGMENT_DONE with the saved segment-stop position.
Comment 1 Wim Taymans 2006-04-11 14:42:31 UTC
        * ext/ogg/gstoggdemux.c: (gst_ogg_pad_src_query),
        (gst_ogg_demux_chain_peer), (gst_ogg_pad_submit_packet),
        (gst_ogg_chain_free), (gst_ogg_demux_sink_event),
        (gst_ogg_demux_loop):
        More cleanups.
        Respect segment stop when emiting EOS or SEGMENT_DONE.
        Fixes (#337945).