summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-02-26 12:47:16 -0800
committerDavid Schleef <ds@schleef.org>2009-02-26 12:49:03 -0800
commit0964c00d2bd8d090e3dfd6522d5d438f7e17d4bc (patch)
treee0131d26235e1b3c9a8cbae67e6ffea8549578e6 /gst
parent47db2fe54765edf47e8f3fb3a6275dade64f20c9 (diff)
downloadgst-plugins-bad-0964c00d2bd8d090e3dfd6522d5d438f7e17d4bc.tar.gz
gst-plugins-bad-0964c00d2bd8d090e3dfd6522d5d438f7e17d4bc.tar.bz2
gst-plugins-bad-0964c00d2bd8d090e3dfd6522d5d438f7e17d4bc.zip
Fix incorrect "pixel_aspect_ratio" in caps
Should be "pixel-aspect-ratio".
Diffstat (limited to 'gst')
-rw-r--r--gst/rawparse/gstvideoparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/rawparse/gstvideoparse.c b/gst/rawparse/gstvideoparse.c
index e3b4b780..df6128ee 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;
}