From 6edbddd2d9cd98b568071c1766e5cb7a0a2be836 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 18 Nov 2008 01:09:09 +0000 Subject: gst/qtmux/gstqtmux.c: Quiet a debugging message that I recently added. Original commit message from CVS: * gst/qtmux/gstqtmux.c: Quiet a debugging message that I recently added. --- gst/qtmux/gstqtmux.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gst') diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c index 2a6b792d..f1232508 100644 --- a/gst/qtmux/gstqtmux.c +++ b/gst/qtmux/gstqtmux.c @@ -1044,7 +1044,7 @@ gst_qt_mux_add_buffer (GstQTMux * qtmux, GstQTPad * pad, GstBuffer * buf) atom_trak_get_timescale (pad->trak), GST_SECOND); pts_offset = (gint64) (pts - last_dts); do_pts = TRUE; - GST_ERROR_OBJECT (qtmux, "Adding ctts entry for pad %s: %" G_GINT64_FORMAT, + GST_LOG_OBJECT (qtmux, "Adding ctts entry for pad %s: %" G_GINT64_FORMAT, GST_PAD_NAME (pad->collect.pad), pts_offset); } @@ -1384,6 +1384,7 @@ gst_qt_mux_video_sink_set_caps (GstPad * pad, GstCaps * caps) GstQTMuxFormat format; AtomInfo *ext_atom = NULL; gboolean sync = FALSE; + int par_num, par_den; /* find stream data */ qtpad = (GstQTPad *) gst_pad_get_element_private (pad); @@ -1417,6 +1418,10 @@ gst_qt_mux_video_sink_set_caps (GstPad * pad, GstCaps * caps) if (value != NULL) codec_data = gst_value_get_buffer (value); + par_num = 1; + 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; -- cgit v1.2.1