audiovisualizer: fixate caps

This commit is contained in:
Wim Taymans 2012-07-24 12:28:18 +02:00
parent 57fa9e8bb2
commit 658e54ff8c

View file

@ -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_int (structure, "height", scope->height);
gst_structure_fixate_field_nearest_fraction (structure, "framerate", gst_structure_fixate_field_nearest_fraction (structure, "framerate",
scope->fps_n, scope->fps_d); scope->fps_n, scope->fps_d);
target = gst_caps_fixate (target);
GST_DEBUG_OBJECT (scope, "final caps are %" GST_PTR_FORMAT, target); GST_DEBUG_OBJECT (scope, "final caps are %" GST_PTR_FORMAT, target);