mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
qtdemux: don't use GST_CLOCK_TIME_NONE in non GstClockTime variables
Use -1 instead as those are gint64/guint64 variables and not GstClockTime
This commit is contained in:
parent
114b84c1a3
commit
148da6210a
1 changed files with 4 additions and 4 deletions
|
@ -548,10 +548,10 @@ gst_qtdemux_init (GstQTDemux * qtdemux)
|
||||||
qtdemux->offset = 0;
|
qtdemux->offset = 0;
|
||||||
qtdemux->first_mdat = -1;
|
qtdemux->first_mdat = -1;
|
||||||
qtdemux->got_moov = FALSE;
|
qtdemux->got_moov = FALSE;
|
||||||
qtdemux->mdatoffset = GST_CLOCK_TIME_NONE;
|
qtdemux->mdatoffset = -1;
|
||||||
qtdemux->mdatbuffer = NULL;
|
qtdemux->mdatbuffer = NULL;
|
||||||
qtdemux->restoredata_buffer = NULL;
|
qtdemux->restoredata_buffer = NULL;
|
||||||
qtdemux->restoredata_offset = GST_CLOCK_TIME_NONE;
|
qtdemux->restoredata_offset = -1;
|
||||||
qtdemux->fragment_start = -1;
|
qtdemux->fragment_start = -1;
|
||||||
qtdemux->fragment_start_offset = -1;
|
qtdemux->fragment_start_offset = -1;
|
||||||
qtdemux->media_caps = NULL;
|
qtdemux->media_caps = NULL;
|
||||||
|
@ -1829,8 +1829,8 @@ gst_qtdemux_reset (GstQTDemux * qtdemux, gboolean hard)
|
||||||
qtdemux->posted_redirect = FALSE;
|
qtdemux->posted_redirect = FALSE;
|
||||||
qtdemux->first_mdat = -1;
|
qtdemux->first_mdat = -1;
|
||||||
qtdemux->header_size = 0;
|
qtdemux->header_size = 0;
|
||||||
qtdemux->mdatoffset = GST_CLOCK_TIME_NONE;
|
qtdemux->mdatoffset = -1;
|
||||||
qtdemux->restoredata_offset = GST_CLOCK_TIME_NONE;
|
qtdemux->restoredata_offset = -1;
|
||||||
if (qtdemux->mdatbuffer)
|
if (qtdemux->mdatbuffer)
|
||||||
gst_buffer_unref (qtdemux->mdatbuffer);
|
gst_buffer_unref (qtdemux->mdatbuffer);
|
||||||
if (qtdemux->restoredata_buffer)
|
if (qtdemux->restoredata_buffer)
|
||||||
|
|
Loading…
Reference in a new issue