mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +00:00
vdpau: properly remove "chroma-type" field from transformed caps
This commit is contained in:
parent
aa193a7b43
commit
ac8dfbea82
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ gst_vdp_video_to_output_caps (GstCaps * caps)
|
|||
gst_vdp_video_remove_pixel_aspect_ratio (structure);
|
||||
|
||||
gst_structure_set_name (rgb_structure, "video/x-raw-rgb");
|
||||
gst_structure_remove_field (structure, "chroma-type");
|
||||
gst_structure_remove_field (rgb_structure, "chroma-type");
|
||||
gst_vdp_video_remove_pixel_aspect_ratio (rgb_structure);
|
||||
gst_caps_append_structure (result, rgb_structure);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue