mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +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>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -542,14 +542,16 @@ gst_type_find_element_chain (GstPad * pad, GstBuffer * buffer)
|
|||
if (gst_caps_is_any (caps)) {
|
||||
gst_caps_unref (caps);
|
||||
} else {
|
||||
GST_DEBUG_OBJECT (typefind, "Skipping typefinding, using caps from "
|
||||
"upstream buffer: %" GST_PTR_FORMAT, caps);
|
||||
typefind->mode = MODE_NORMAL;
|
||||
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE], 0,
|
||||
GST_TYPE_FIND_MAXIMUM, caps);
|
||||
|
||||
gst_type_find_element_send_cached_events (typefind);
|
||||
if (typefind->store) {
|
||||
GST_DEBUG_OBJECT (typefind, "Pushing store: %d",
|
||||
GST_BUFFER_SIZE (typefind->store));
|
||||
gst_type_find_element_send_cached_events (typefind);
|
||||
gst_buffer_set_caps (typefind->store, typefind->caps);
|
||||
gst_pad_push (typefind->src, typefind->store);
|
||||
typefind->store = NULL;
|
||||
|
|
Loading…
Reference in a new issue