From ac8dfbea826251094a9be6bda699afd0a3a227b9 Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Fri, 30 Jul 2010 11:29:16 +0200 Subject: vdpau: properly remove "chroma-type" field from transformed caps --- sys/vdpau/gstvdp/gstvdputils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vdpau/gstvdp/gstvdputils.c b/sys/vdpau/gstvdp/gstvdputils.c index bb3f50e67..fad66a6ba 100644 --- a/sys/vdpau/gstvdp/gstvdputils.c +++ b/sys/vdpau/gstvdp/gstvdputils.c @@ -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); } -- cgit v1.2.3