mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
plugins/elements/gsttypefindelement.c: More debug info; when skipping typefinding, send cached events in all cases.
Original commit message from CVS: * plugins/elements/gsttypefindelement.c: (gst_type_find_element_chain): More debug info; when skipping typefinding, send cached events in all cases.
This commit is contained in:
parent
bb5f49a2da
commit
3b67b0ad82
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* plugins/elements/gsttypefindelement.c:
|
||||||
|
(gst_type_find_element_chain):
|
||||||
|
More debug info; when skipping typefinding, send cached
|
||||||
|
events in all cases.
|
||||||
|
|
||||||
2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
|
2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -542,14 +542,16 @@ gst_type_find_element_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
if (gst_caps_is_any (caps)) {
|
if (gst_caps_is_any (caps)) {
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
} else {
|
} else {
|
||||||
|
GST_DEBUG_OBJECT (typefind, "Skipping typefinding, using caps from "
|
||||||
|
"upstream buffer: %" GST_PTR_FORMAT, caps);
|
||||||
typefind->mode = MODE_NORMAL;
|
typefind->mode = MODE_NORMAL;
|
||||||
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE], 0,
|
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE], 0,
|
||||||
GST_TYPE_FIND_MAXIMUM, caps);
|
GST_TYPE_FIND_MAXIMUM, caps);
|
||||||
|
|
||||||
|
gst_type_find_element_send_cached_events (typefind);
|
||||||
if (typefind->store) {
|
if (typefind->store) {
|
||||||
GST_DEBUG_OBJECT (typefind, "Pushing store: %d",
|
GST_DEBUG_OBJECT (typefind, "Pushing store: %d",
|
||||||
GST_BUFFER_SIZE (typefind->store));
|
GST_BUFFER_SIZE (typefind->store));
|
||||||
gst_type_find_element_send_cached_events (typefind);
|
|
||||||
gst_buffer_set_caps (typefind->store, typefind->caps);
|
gst_buffer_set_caps (typefind->store, typefind->caps);
|
||||||
gst_pad_push (typefind->src, typefind->store);
|
gst_pad_push (typefind->src, typefind->store);
|
||||||
typefind->store = NULL;
|
typefind->store = NULL;
|
||||||
|
|
Loading…
Reference in a new issue