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:
bcbe8d0
)
baseparse: Forward SEGMENT_DONE events immediately
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 7 Apr 2015 01:45:37 +0000
(18:45 -0700)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 7 Apr 2015 01:46:06 +0000
(18:46 -0700)
There might be no more data coming afterwards, and we just drained everything
that was left to be pushed anyway.
libs/gst/base/gstbaseparse.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbaseparse.c
b/libs/gst/base/gstbaseparse.c
index
5580b14
..
d611b17
100644
(file)
--- a/
libs/gst/base/gstbaseparse.c
+++ b/
libs/gst/base/gstbaseparse.c
@@
-1137,6
+1137,9
@@
gst_base_parse_sink_event_default (GstBaseParse * parse, GstEvent * event)
gst_base_parse_drain (parse);
else
gst_base_parse_finish_fragment (parse, FALSE);
+ /* Also forward event immediately, there might be no new data
+ * coming afterwards that would allow us to forward it later */
+ forward_immediate = TRUE;
break;
case GST_EVENT_FLUSH_START: