mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
autoconvert: Don't drop upstream events due to silly typo
This commit is contained in:
parent
3ace19461f
commit
ea707c1764
1 changed files with 2 additions and 1 deletions
|
@ -1297,12 +1297,13 @@ gst_auto_convert_internal_src_event (GstPad * pad, GstObject * parent,
|
|||
gboolean drop = FALSE;
|
||||
|
||||
GST_AUTOCONVERT_LOCK (autoconvert);
|
||||
if (autoconvert->current_internal_sinkpad != pad) {
|
||||
if (autoconvert->current_internal_srcpad != pad) {
|
||||
drop = TRUE;
|
||||
}
|
||||
GST_AUTOCONVERT_UNLOCK (autoconvert);
|
||||
|
||||
if (drop) {
|
||||
GST_DEBUG_OBJECT (autoconvert, "Dropping event %" GST_PTR_FORMAT, event);
|
||||
gst_event_unref (event);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue