Original commit message from CVS:
Patch by: Wim Taymans <wim at fluendo dot com>
* ext/a52dec/gsta52dec.c: (gst_a52dec_sink_event):
Instead of forwarding the event in the wrong format, unref it and set
a boolean that we still need to send it in the streaming thread.
Fixes #350554
2006-08-14 Thomas Vander Stichele <thomas at apestaart dot org>
- Patch by: Edward Hervey (edward at fluendo dot com)
+ Patch by: Wim Taymans <wim at fluendo dot com>
+
+ * ext/a52dec/gsta52dec.c: (gst_a52dec_sink_event):
+ Instead of forwarding the event in the wrong format, unref it and set
+ a boolean that we still need to send it in the streaming thread.
+ Fixes #350554
+
+2006-08-14 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ Patch by: Edward Hervey <edward at fluendo dot com>
* ext/dvdread/dvdreadsrc.c: (plugin_init):
Put debug category initialization before use of GST_DEBUG, in order
NULL);
if (format != GST_FORMAT_TIME || !GST_CLOCK_TIME_IS_VALID (val)) {
GST_WARNING ("No time in newsegment event %p", event);
+ gst_event_unref (event);
+ a52dec->sent_segment = FALSE;
} else {
a52dec->time = val;
a52dec->sent_segment = TRUE;
+ ret = gst_pad_event_default (pad, event);
}
if (a52dec->cache) {
gst_buffer_unref (a52dec->cache);
a52dec->cache = NULL;
}
- ret = gst_pad_event_default (pad, event);
break;
}
case GST_EVENT_TAG: