projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2caef6e
)
fix spider to accomodate filesrc's new behavior (ie, sending a DISCONT before any...
author
Andy Wingo
<wingo@pobox.com>
Thu, 30 May 2002 04:33:01 +0000
(
04:33
+0000)
committer
Andy Wingo
<wingo@pobox.com>
Thu, 30 May 2002 04:33:01 +0000
(
04:33
+0000)
Original commit message from CVS:
fix spider to accomodate filesrc's new behavior (ie, sending a DISCONT before any data)
gst/autoplug/gstspideridentity.c
patch
|
blob
|
history
diff --git
a/gst/autoplug/gstspideridentity.c
b/gst/autoplug/gstspideridentity.c
index
1b89105
..
74d6220
100644
(file)
--- a/
gst/autoplug/gstspideridentity.c
+++ b/
gst/autoplug/gstspideridentity.c
@@
-490,9
+490,10
@@
gst_spider_identity_sink_loop_type_finding (GstSpiderIdentity *ident)
buf = gst_pad_pull (ident->sink);
/* if it's an event... */
-
if
(GST_IS_EVENT (buf)) {
+
while
(GST_IS_EVENT (buf)) {
/* handle DISCONT events, please */
gst_pad_event_default (ident->sink, GST_EVENT (buf));
+ buf = gst_pad_pull (ident->sink);
}
/* add it to the end of the cache */