[Bug 796623] tsdemux: Ensure valid seqnum on segment events

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 19 04:48:29 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796623

Edward Hervey <bilboed at bilboed.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #372717|none                        |needs-work
             status|                            |

--- Comment #2 from Edward Hervey <bilboed at bilboed.com> ---
Review of attachment 372717:
 --> (https://bugzilla.gnome.org/review?bug=796623&attachment=372717)

::: gst/mpegtsdemux/tsdemux.c
@@ +2483,2 @@
     demux->segment_event = gst_event_new_segment (&demux->segment);
+    gst_event_set_seqnum (demux->segment_event, seqnum);

no need to create a seqnum if the stored one is invalid. New events are always
created with a valid seqnum.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list