[gst-cvs] gst-plugins-bad: Fix incorrect "pixel_aspect_ratio" in caps

David Schleef ds at kemper.freedesktop.org
Thu Feb 26 12:49:11 PST 2009


Module: gst-plugins-bad
Branch: master
Commit: 0964c00d2bd8d090e3dfd6522d5d438f7e17d4bc
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=0964c00d2bd8d090e3dfd6522d5d438f7e17d4bc

Author: David Schleef <ds at schleef.org>
Date:   Thu Feb 26 12:47:16 2009 -0800

Fix incorrect "pixel_aspect_ratio" in caps

Should be "pixel-aspect-ratio".

---

 gst/rawparse/gstvideoparse.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gst/rawparse/gstvideoparse.c b/gst/rawparse/gstvideoparse.c
index e3b4b78..df6128e 100644
--- a/gst/rawparse/gstvideoparse.c
+++ b/gst/rawparse/gstvideoparse.c
@@ -393,7 +393,7 @@ gst_video_parse_get_caps (GstRawParse * rp)
         "height", G_TYPE_INT, vp->height,
         "format", GST_TYPE_FOURCC,
         gst_video_parse_format_to_fourcc (vp->format), "framerate",
-        GST_TYPE_FRACTION, fps_n, fps_d, "pixel_aspect_ratio",
+        GST_TYPE_FRACTION, fps_n, fps_d, "pixel-aspect-ratio",
         GST_TYPE_FRACTION, vp->par_n, vp->par_d, NULL);
   } else if (vp->format == GST_VIDEO_PARSE_FORMAT_RGB) {
     caps = gst_caps_new_simple ("video/x-raw-rgb",
@@ -402,7 +402,7 @@ gst_video_parse_get_caps (GstRawParse * rp)
         "bpp", G_TYPE_INT, vp->bpp,
         "depth", G_TYPE_INT, vp->depth,
         "framerate", GST_TYPE_FRACTION, fps_n, fps_d,
-        "pixel_aspect_ratio", GST_TYPE_FRACTION, vp->par_n, vp->par_d,
+        "pixel-aspect-ratio", GST_TYPE_FRACTION, vp->par_n, vp->par_d,
         "red_mask", G_TYPE_INT, vp->red_mask,
         "green_mask", G_TYPE_INT, vp->green_mask,
         "blue_mask", G_TYPE_INT, vp->blue_mask,
@@ -415,7 +415,7 @@ gst_video_parse_get_caps (GstRawParse * rp)
         "bpp", G_TYPE_INT, vp->bpp,
         "depth", G_TYPE_INT, vp->depth,
         "framerate", GST_TYPE_FRACTION, fps_n, fps_d,
-        "pixel_aspect_ratio", GST_TYPE_FRACTION, vp->par_n, vp->par_d, NULL);
+        "pixel-aspect-ratio", GST_TYPE_FRACTION, vp->par_n, vp->par_d, NULL);
   }
   return caps;
 }





More information about the Gstreamer-commits mailing list