mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
audiovisualizer: Fixate pixel-aspect-ratio to the closest value to 1/1
This commit is contained in:
parent
1d2a311c1d
commit
cfb1a7f6e7
1 changed files with 2 additions and 0 deletions
|
@ -812,6 +812,8 @@ gst_audio_visualizer_src_negotiate (GstAudioVisualizer * scope)
|
|||
gst_structure_fixate_field_nearest_int (structure, "width", 320);
|
||||
gst_structure_fixate_field_nearest_int (structure, "height", 200);
|
||||
gst_structure_fixate_field_nearest_fraction (structure, "framerate", 25, 1);
|
||||
gst_structure_fixate_field_nearest_fraction (structure, "pixel-aspect-ratio",
|
||||
1, 1);
|
||||
|
||||
target = gst_caps_fixate (target);
|
||||
|
||||
|
|
Loading…
Reference in a new issue