mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
audiorate: ignore GAP event
audiorate automatically fills gaps with silence. https://bugzilla.gnome.org/show_bug.cgi?id=705048
This commit is contained in:
parent
b12cd5432a
commit
470531d56e
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue