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:
b12cd54
)
audiorate: ignore GAP event
author
Matej Knopp
<matej.knopp@gmail.com>
Sun, 28 Jul 2013 21:38:17 +0000
(23:38 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Mon, 29 Jul 2013 06:23:43 +0000
(08:23 +0200)
audiorate automatically fills gaps with silence.
https://bugzilla.gnome.org/show_bug.cgi?id=705048
gst/audiorate/gstaudiorate.c
patch
|
blob
|
history
diff --git
a/gst/audiorate/gstaudiorate.c
b/gst/audiorate/gstaudiorate.c
index
ecd1749
..
7f64fd1
100644
(file)
--- a/
gst/audiorate/gstaudiorate.c
+++ b/
gst/audiorate/gstaudiorate.c
@@
-340,6
+340,11
@@
gst_audio_rate_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
gst_audio_rate_fill_to_time (audiorate, audiorate->src_segment.stop);
res = gst_pad_push_event (audiorate->srcpad, event);
break;
+ case GST_EVENT_GAP:
+ /* no gaps after audiorate, ignore the event */
+ gst_event_unref (event);
+ res = TRUE;
+ break;
default:
res = gst_pad_event_default (pad, parent, event);
break;