projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a87cd04
)
siddec: reset bytes counter
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 30 Oct 2012 09:20:04 +0000
(09:20 +0000)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 30 Oct 2012 09:20:04 +0000
(09:20 +0000)
Reset the total_bytes counter so that we get timestamps correct.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=686931
ext/sidplay/gstsiddec.cc
patch
|
blob
|
history
diff --git
a/ext/sidplay/gstsiddec.cc
b/ext/sidplay/gstsiddec.cc
index 667f209979b71fbff90f78325d5489cb1afb033b..0f24f6603e7c35769e0845a97e7b6aff1865e1f8 100644
(file)
--- a/
ext/sidplay/gstsiddec.cc
+++ b/
ext/sidplay/gstsiddec.cc
@@
-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);