videorate: Add property to force an output framerate
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 24 Nov 2011 13:29:49 +0000 (14:29 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Thu, 24 Nov 2011 13:40:38 +0000 (14:40 +0100)
commitec062ef3f2a6feb87e431430e88e55a54f62a1d8
tree852ff843af804aecd6bc7d6d21c529e5ee2b16a0
parent683735a01e077e4f8082dd9a87664544058a3cf4
videorate: Add property to force an output framerate

API: GstVideoRate:force-fps

Changing the framerate during playback is not possible
with a capsfilter downstream if upstream is not using
gst_pad_alloc_buffer(). In that case there's no way in
0.10 to signal to videorate that the preferred framerate
has changed.

This new property will force the output framerate to
a specific value and can be changed during playback.
gst/videorate/gstvideorate.c
gst/videorate/gstvideorate.h