mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
videorate: log when rolling back previous caps
We were logging when restoring the current caps but not when it was changed, making logs quite confusing. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5433>
This commit is contained in:
parent
9e137ea6a4
commit
8004b1650a
1 changed files with 3 additions and 0 deletions
|
@ -930,6 +930,9 @@ gst_video_rate_rollback_to_prev_caps_if_needed (GstVideoRate * videorate)
|
|||
if (videorate->in_caps)
|
||||
prev_caps = gst_caps_ref (videorate->in_caps);
|
||||
|
||||
GST_DEBUG_OBJECT (videorate, "rollback to previous caps %" GST_PTR_FORMAT,
|
||||
prev_caps);
|
||||
|
||||
if (!gst_pad_send_event (GST_BASE_TRANSFORM_SINK_PAD (videorate),
|
||||
gst_event_new_caps (videorate->prev_caps)
|
||||
)) {
|
||||
|
|
Loading…
Reference in a new issue