summaryrefslogtreecommitdiff
path: root/sys/vdpau
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 11:29:16 +0200
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 11:33:13 +0200
commitac8dfbea826251094a9be6bda699afd0a3a227b9 (patch)
tree40f250e333e384124071a5b70f5401a86dce1098 /sys/vdpau
parentaa193a7b4391f98367c9d0f27b220cdd6bcb8db7 (diff)
downloadgstreamer-plugins-bad-ac8dfbea826251094a9be6bda699afd0a3a227b9.tar.gz
vdpau: properly remove "chroma-type" field from transformed caps
Diffstat (limited to 'sys/vdpau')
-rw-r--r--sys/vdpau/gstvdp/gstvdputils.c2
1 files changed, 1 insertions, 1 deletions
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);
}