diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2010-07-30 11:29:16 +0200 |
---|---|---|
committer | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2010-07-30 11:33:13 +0200 |
commit | ac8dfbea826251094a9be6bda699afd0a3a227b9 (patch) | |
tree | 40f250e333e384124071a5b70f5401a86dce1098 /sys/vdpau | |
parent | aa193a7b4391f98367c9d0f27b220cdd6bcb8db7 (diff) | |
download | gstreamer-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.c | 2 |
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); } |