mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
fix spider to accomodate filesrc's new behavior (ie, sending a DISCONT before any data)
Original commit message from CVS: fix spider to accomodate filesrc's new behavior (ie, sending a DISCONT before any data)
This commit is contained in:
parent
2caef6eec9
commit
c6446629ef
1 changed files with 2 additions and 1 deletions
|
@ -490,9 +490,10 @@ gst_spider_identity_sink_loop_type_finding (GstSpiderIdentity *ident)
|
||||||
buf = gst_pad_pull (ident->sink);
|
buf = gst_pad_pull (ident->sink);
|
||||||
|
|
||||||
/* if it's an event... */
|
/* if it's an event... */
|
||||||
if (GST_IS_EVENT (buf)) {
|
while (GST_IS_EVENT (buf)) {
|
||||||
/* handle DISCONT events, please */
|
/* handle DISCONT events, please */
|
||||||
gst_pad_event_default (ident->sink, GST_EVENT (buf));
|
gst_pad_event_default (ident->sink, GST_EVENT (buf));
|
||||||
|
buf = gst_pad_pull (ident->sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* add it to the end of the cache */
|
/* add it to the end of the cache */
|
||||||
|
|
Loading…
Reference in a new issue