diff options
author | Edward Hervey <bilboed@bilboed.com> | 2015-01-27 17:23:36 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2015-02-18 12:23:32 +0100 |
commit | 512595157a5a6398b89e857a712afcb8eab22575 (patch) | |
tree | 5a37a222937270d0510a796cd75daec13ccbab3f | |
parent | 6567eca775633ec5919be99d073ba4ab75b600c5 (diff) |
fixup previous commitWIP-1.5
-rw-r--r-- | gst/mpegtsdemux/tsdemux.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 4cd07bc68..b83b05b2f 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -493,8 +493,8 @@ gst_ts_demux_srcpad_query (GstPad * pad, GstObject * parent, GstQuery * query) mpegts_packetizer_offset_to_ts (base->packetizer, val, demux->program->pcr_pid); GST_DEBUG_OBJECT (demux, - "Upstream returned %d bytes, converted to %" GST_TIME_FORMAT, val, - GST_TIME_ARGS (dur)); + "Upstream returned %" G_GINT64_FORMAT " bytes, converted to %" + GST_TIME_FORMAT, val, GST_TIME_ARGS (dur)); /* Only return the converted duration if valid and non-zero */ if (dur && GST_CLOCK_TIME_IS_VALID (dur)) gst_query_set_duration (query, GST_FORMAT_TIME, dur); @@ -1396,9 +1396,9 @@ gst_ts_demux_stream_added (MpegTSBase * base, MpegTSBaseStream * bstream, if (stream->pad) { gst_flow_combiner_add_pad (demux->flowcombiner, stream->pad); if (!gst_element_add_pad ((GstElement *) demux, stream->pad)) { - gst_object_set_name (stream->pad, g_strdup_printf ("%s_dup", - GST_OBJECT_NAME (stream->pad))); - gst_element_add_pad (demux, stream->pad); + gst_object_set_name ((GstObject *) stream->pad, + g_strdup_printf ("%s_dup", GST_OBJECT_NAME (stream->pad))); + gst_element_add_pad ((GstElement *) demux, stream->pad); } } } |