+2007-01-24 Tim-Philipp Müller <tim at centricular dot net>
+
+ * ext/pango/gsttextoverlay.c: (gst_text_overlay_src_event),
+ (gst_text_overlay_text_event):
+ Don't unnecessarily ref (and then leak) upstream events if the text
+ pad is not linked. Fixes #399948.
+
+ * tests/check/gst-plugins-base.supp:
+ Add suppression for pango on edgy/x86 for textoverlay test.
+
2007-01-24 Wim Taymans <wim@fluendo.com>
* gst-libs/gst/rtp/gstrtpbuffer.h:
}
break;
default:
- gst_event_ref (event);
- ret = gst_pad_push_event (overlay->video_sinkpad, event);
if (overlay->text_linked) {
- ret = gst_pad_push_event (overlay->text_sinkpad, event);
+ gst_event_ref (event);
+ ret = gst_pad_push_event (overlay->video_sinkpad, event);
+ gst_pad_push_event (overlay->text_sinkpad, event);
+ } else {
+ ret = gst_pad_push_event (overlay->video_sinkpad, event);
}
+ break;
}
beach:
GST_OBJECT_LOCK (overlay);
overlay->text_flushing = TRUE;
overlay->text_eos = TRUE;
+ GST_INFO_OBJECT (overlay, "EOS");
/* wake up the video chain, it might be waiting for a text buffer or
* a text segment update */
GST_TEXT_OVERLAY_BROADCAST (overlay);