summaryrefslogtreecommitdiffstats
path: root/gst/qtmux/gstqtmux.c
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2008-11-18 01:09:09 +0000
committerDavid Schleef <ds@schleef.org>2008-11-18 01:09:09 +0000
commit6edbddd2d9cd98b568071c1766e5cb7a0a2be836 (patch)
tree92c7376ad7ec06b94ce4b37c81e9a933656d3264 /gst/qtmux/gstqtmux.c
parent8ce409bd328ccb8d150ef406c407785ef4ff6e67 (diff)
downloadgst-plugins-bad-6edbddd2d9cd98b568071c1766e5cb7a0a2be836.tar.gz
gst-plugins-bad-6edbddd2d9cd98b568071c1766e5cb7a0a2be836.tar.bz2
gst-plugins-bad-6edbddd2d9cd98b568071c1766e5cb7a0a2be836.zip
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.
Diffstat (limited to 'gst/qtmux/gstqtmux.c')
-rw-r--r--gst/qtmux/gstqtmux.c7
1 files changed, 6 insertions, 1 deletions
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;