mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 09:41:07 +00:00
gst/elements/gsttypefindelement.c: Don't cache seek events (fixes #301313).
Original commit message from CVS: * gst/elements/gsttypefindelement.c: (gst_type_find_element_handle_event): Don't cache seek events (fixes #301313).
This commit is contained in:
parent
d6386e096a
commit
970c2f3ff6
3 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-04-22 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/elements/gsttypefindelement.c:
|
||||
(gst_type_find_element_handle_event):
|
||||
Don't cache seek events (fixes #301313).
|
||||
|
||||
2005-04-22 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
|
|
@ -505,6 +505,10 @@ gst_type_find_element_handle_event (GstPad * pad, GstEvent * event)
|
|||
stop_typefinding (typefind);
|
||||
}
|
||||
break;
|
||||
case GST_EVENT_DISCONTINUOUS:
|
||||
case GST_EVENT_FLUSH:
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
default:
|
||||
typefind->pending_events = g_list_append (typefind->pending_events,
|
||||
event);
|
||||
|
|
|
@ -505,6 +505,10 @@ gst_type_find_element_handle_event (GstPad * pad, GstEvent * event)
|
|||
stop_typefinding (typefind);
|
||||
}
|
||||
break;
|
||||
case GST_EVENT_DISCONTINUOUS:
|
||||
case GST_EVENT_FLUSH:
|
||||
gst_event_unref (event);
|
||||
break;
|
||||
default:
|
||||
typefind->pending_events = g_list_append (typefind->pending_events,
|
||||
event);
|
||||
|
|
Loading…
Reference in a new issue