diff options
author | Thiago Santos <thiagoss@osg.samsung.com> | 2014-12-01 21:04:02 -0300 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2014-12-02 00:46:35 -0300 |
commit | 148da6210a4f9593cc0be6424e0e26556b72f0ba (patch) | |
tree | 76c8a4123146ffad7fecaacb9c2e797770a88a9f | |
parent | 114b84c1a33c8ed6a2a68f0766a0a9672e051b74 (diff) |
qtdemux: don't use GST_CLOCK_TIME_NONE in non GstClockTime variables
Use -1 instead as those are gint64/guint64 variables and not GstClockTime
-rw-r--r-- | gst/isomp4/qtdemux.c | 8 |
1 files 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) |