mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst/elements/gsttypefindelement.c: Fix buffer pushing if stream EOSes during typefinding.
Original commit message from CVS: * gst/elements/gsttypefindelement.c: (gst_type_find_element_handle_event): Fix buffer pushing if stream EOSes during typefinding.
This commit is contained in:
parent
c1f7b619d3
commit
5adea0d2f9
3 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-01-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/elements/gsttypefindelement.c:
|
||||
(gst_type_find_element_handle_event):
|
||||
Fix buffer pushing if stream EOSes during typefinding.
|
||||
|
||||
2005-01-28 Edward Hervey <bilboed@bilboed.com>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
|
|
@ -484,6 +484,7 @@ gst_type_find_element_handle_event (GstPad * pad, GstEvent * event)
|
|||
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE],
|
||||
0, entry->probability, entry->caps);
|
||||
stop_typefinding (typefind);
|
||||
push_buffer_store (typefind);
|
||||
gst_pad_event_default (pad, event);
|
||||
} else {
|
||||
gst_pad_event_default (pad, event);
|
||||
|
|
|
@ -484,6 +484,7 @@ gst_type_find_element_handle_event (GstPad * pad, GstEvent * event)
|
|||
g_signal_emit (typefind, gst_type_find_element_signals[HAVE_TYPE],
|
||||
0, entry->probability, entry->caps);
|
||||
stop_typefinding (typefind);
|
||||
push_buffer_store (typefind);
|
||||
gst_pad_event_default (pad, event);
|
||||
} else {
|
||||
gst_pad_event_default (pad, event);
|
||||
|
|
Loading…
Reference in a new issue