mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
audiovisualizer: fixate caps
This commit is contained in:
parent
57fa9e8bb2
commit
658e54ff8c
1 changed files with 1 additions and 0 deletions
|
@ -702,6 +702,7 @@ gst_audio_visualizer_src_negotiate (GstAudioVisualizer * scope)
|
|||
gst_structure_fixate_field_nearest_int (structure, "height", scope->height);
|
||||
gst_structure_fixate_field_nearest_fraction (structure, "framerate",
|
||||
scope->fps_n, scope->fps_d);
|
||||
target = gst_caps_fixate (target);
|
||||
|
||||
GST_DEBUG_OBJECT (scope, "final caps are %" GST_PTR_FORMAT, target);
|
||||
|
||||
|
|
Loading…
Reference in a new issue