summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 09:29:16 (GMT)
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-07-30 09:33:13 (GMT)
commitac8dfbea826251094a9be6bda699afd0a3a227b9 (patch)
tree40f250e333e384124071a5b70f5401a86dce1098
parentaa193a7b4391f98367c9d0f27b220cdd6bcb8db7 (diff)
vdpau: properly remove "chroma-type" field from transformed caps
-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 bb3f50e..fad66a6 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);
}