summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2012-08-30 18:39:50 -0700
committerJan Schmidt <thaytan@noraisin.net>2012-08-31 07:06:50 -0700
commitea707c1764f00eb4f8656db539d24a2b30249b92 (patch)
tree0f002aed856d9631f0fd02dae6a96bd1a2f27285
parent3ace19461fec4b131845918bda15525cf3c4ed46 (diff)
downloadgstreamer-plugins-bad-ea707c1764f00eb4f8656db539d24a2b30249b92.tar.gz
autoconvert: Don't drop upstream events due to silly typo
-rw-r--r--gst/autoconvert/gstautoconvert.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/autoconvert/gstautoconvert.c b/gst/autoconvert/gstautoconvert.c
index 9669e8204..05244b3b3 100644
--- a/gst/autoconvert/gstautoconvert.c
+++ b/gst/autoconvert/gstautoconvert.c
@@ -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;
}