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:
470531d
)
videorate: ignore GAP event
author
Matej Knopp
<matej.knopp@gmail.com>
Sun, 28 Jul 2013 21:38:06 +0000
(23:38 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Mon, 29 Jul 2013 06:24:06 +0000
(08:24 +0200)
videorate automatically fills gaps with the previous frames.
https://bugzilla.gnome.org/show_bug.cgi?id=705048
gst/videorate/gstvideorate.c
patch
|
blob
|
history
diff --git
a/gst/videorate/gstvideorate.c
b/gst/videorate/gstvideorate.c
index
75c3371
..
de53b7a
100644
(file)
--- a/
gst/videorate/gstvideorate.c
+++ b/
gst/videorate/gstvideorate.c
@@
-779,6
+779,10
@@
gst_video_rate_sink_event (GstBaseTransform * trans, GstEvent * event)
GST_DEBUG_OBJECT (videorate, "Got FLUSH_STOP");
gst_video_rate_reset (videorate);
break;
+ case GST_EVENT_GAP:
+ /* no gaps after videorate, ignore the event */
+ gst_event_unref (event);
+ return TRUE;
default:
break;
}