mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
aggregator: Delay clipping to output thread
This is required because the synchronized events like caps or segments may only be processed on the output thread. https://bugzilla.gnome.org/show_bug.cgi?id=781673
This commit is contained in:
parent
1e7aaf775f
commit
26819ba296
1 changed files with 1 additions and 1 deletions
|
@ -752,7 +752,7 @@ gst_audio_aggregator_do_clip (GstAggregator * agg,
|
|||
bpf = GST_AUDIO_INFO_BPF (&pad->info);
|
||||
|
||||
GST_OBJECT_LOCK (bpad);
|
||||
buffer = gst_audio_buffer_clip (buffer, &bpad->clip_segment, rate, bpf);
|
||||
buffer = gst_audio_buffer_clip (buffer, &bpad->segment, rate, bpf);
|
||||
GST_OBJECT_UNLOCK (bpad);
|
||||
|
||||
return buffer;
|
||||
|
|
Loading…
Reference in a new issue