From: David Schleef Date: Tue, 18 Nov 2008 01:09:09 +0000 (+0000) Subject: gst/quicktime/gstqtmux.c: Quiet a debugging message that I recently added. X-Git-Tag: RELEASE-0.10.29~224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71eacf835e13b456ec9e198f3474d1bd4380146c;p=platform%2Fupstream%2Fgst-plugins-good.git gst/quicktime/gstqtmux.c: Quiet a debugging message that I recently added. Original commit message from CVS: * gst/quicktime/gstqtmux.c: Quiet a debugging message that I recently added. --- diff --git a/gst/quicktime/gstqtmux.c b/gst/quicktime/gstqtmux.c index 2a6b792df..f12325081 100644 --- a/gst/quicktime/gstqtmux.c +++ b/gst/quicktime/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;