From 148da6210a4f9593cc0be6424e0e26556b72f0ba Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Mon, 1 Dec 2014 21:04:02 -0300 Subject: qtdemux: don't use GST_CLOCK_TIME_NONE in non GstClockTime variables Use -1 instead as those are gint64/guint64 variables and not GstClockTime --- gst/isomp4/qtdemux.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 5de4f44a9..c0b40e34b 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -548,10 +548,10 @@ gst_qtdemux_init (GstQTDemux * qtdemux) qtdemux->offset = 0; qtdemux->first_mdat = -1; qtdemux->got_moov = FALSE; - qtdemux->mdatoffset = GST_CLOCK_TIME_NONE; + qtdemux->mdatoffset = -1; qtdemux->mdatbuffer = NULL; qtdemux->restoredata_buffer = NULL; - qtdemux->restoredata_offset = GST_CLOCK_TIME_NONE; + qtdemux->restoredata_offset = -1; qtdemux->fragment_start = -1; qtdemux->fragment_start_offset = -1; qtdemux->media_caps = NULL; @@ -1829,8 +1829,8 @@ gst_qtdemux_reset (GstQTDemux * qtdemux, gboolean hard) qtdemux->posted_redirect = FALSE; qtdemux->first_mdat = -1; qtdemux->header_size = 0; - qtdemux->mdatoffset = GST_CLOCK_TIME_NONE; - qtdemux->restoredata_offset = GST_CLOCK_TIME_NONE; + qtdemux->mdatoffset = -1; + qtdemux->restoredata_offset = -1; if (qtdemux->mdatbuffer) gst_buffer_unref (qtdemux->mdatbuffer); if (qtdemux->restoredata_buffer) -- cgit v1.2.3