mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
videorate: Signalling reconfigure to upstream whenever updating downstream caps
Previously configured bufferpool can be expired/inactivate by the updated caps. Therefore new reconfigure event should be signalled in order to do allocation query dancing between upstream and downstream again. Fixes: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/730
This commit is contained in:
parent
b706b6d84e
commit
bb8515671e
1 changed files with 3 additions and 0 deletions
|
@ -1276,6 +1276,9 @@ gst_video_rate_check_variable_rate (GstVideoRate * videorate,
|
|||
videorate->updating_caps = TRUE;
|
||||
gst_base_transform_update_src_caps (GST_BASE_TRANSFORM (videorate), tmpcaps);
|
||||
|
||||
/* also reconfigure sink so that buffer pool can be updated again */
|
||||
gst_base_transform_reconfigure_sink (GST_BASE_TRANSFORM (videorate));
|
||||
|
||||
done:
|
||||
gst_caps_unref (tmpcaps);
|
||||
if (pad)
|
||||
|
|
Loading…
Reference in a new issue