summaryrefslogtreecommitdiffstats
path: root/gst/qtmux/gstqtmux.c
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-06-01 23:00:44 +0200
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2009-06-19 18:12:54 +0200
commitb0c0651d7ceec26d3d62e46eabeaa4ad2bc73a18 (patch)
tree3a63eff937643bd0e366cb8885b833a121c46ffc /gst/qtmux/gstqtmux.c
parent98292e9efd73dc11f704cdea986297b445315243 (diff)
downloadgst-plugins-bad-b0c0651d7ceec26d3d62e46eabeaa4ad2bc73a18.tar.gz
gst-plugins-bad-b0c0651d7ceec26d3d62e46eabeaa4ad2bc73a18.tar.bz2
gst-plugins-bad-b0c0651d7ceec26d3d62e46eabeaa4ad2bc73a18.zip
qtmux (and variants): handle pixel-aspect-ratio. Fixes #584358.
Diffstat (limited to 'gst/qtmux/gstqtmux.c')
-rw-r--r--gst/qtmux/gstqtmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c
index 03b0a1a6..913bfc30 100644
--- a/gst/qtmux/gstqtmux.c
+++ b/gst/qtmux/gstqtmux.c
@@ -1464,7 +1464,6 @@ gst_qt_mux_video_sink_set_caps (GstPad * pad, GstCaps * caps)
par_den = 1;
gst_structure_get_fraction (structure, "pixel-aspect-ratio", &par_num,
&par_den);
- /* FIXME: pixel-aspect-ratio */
qtpad->is_out_of_order = FALSE;
@@ -1477,6 +1476,8 @@ gst_qt_mux_video_sink_set_caps (GstPad * pad, GstCaps * caps)
/* set common properties */
entry.width = width;
entry.height = height;
+ entry.par_n = par_num;
+ entry.par_d = par_den;
/* should be OK according to qt and iso spec, override if really needed */
entry.color_table_id = -1;
entry.frame_count = 1;