mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
siddec: reset bytes counter
Reset the total_bytes counter so that we get timestamps correct. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686931
This commit is contained in:
parent
a87cd04ee2
commit
b979e19af7
1 changed files with 1 additions and 0 deletions
|
@ -459,6 +459,7 @@ start_play_tune (GstSidDec * siddec)
|
|||
|
||||
gst_segment_init (&segment, GST_FORMAT_TIME);
|
||||
gst_pad_push_event (siddec->srcpad, gst_event_new_segment (&segment));
|
||||
siddec->total_bytes = 0;
|
||||
|
||||
res = gst_pad_start_task (siddec->srcpad,
|
||||
(GstTaskFunction) play_loop, siddec->srcpad, NULL);
|
||||
|
|
Loading…
Reference in a new issue