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 | |
parent | aa193a7b4391f98367c9d0f27b220cdd6bcb8db7 (diff) |
vdpau: properly remove "chroma-type" field from transformed caps
-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) | |||
58 | gst_vdp_video_remove_pixel_aspect_ratio (structure); | 58 | gst_vdp_video_remove_pixel_aspect_ratio (structure); |
59 | 59 | ||
60 | gst_structure_set_name (rgb_structure, "video/x-raw-rgb"); | 60 | gst_structure_set_name (rgb_structure, "video/x-raw-rgb"); |
61 | gst_structure_remove_field (structure, "chroma-type"); | 61 | gst_structure_remove_field (rgb_structure, "chroma-type"); |
62 | gst_vdp_video_remove_pixel_aspect_ratio (rgb_structure); | 62 | gst_vdp_video_remove_pixel_aspect_ratio (rgb_structure); |
63 | gst_caps_append_structure (result, rgb_structure); | 63 | gst_caps_append_structure (result, rgb_structure); |
64 | } | 64 | } |