mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
qtmux: remove not needed condition
gst_buffer_replace can handle NULL inputs by itself
This commit is contained in:
parent
a12e41c106
commit
84b7cf6795
2 changed files with 3 additions and 4 deletions
|
@ -385,8 +385,7 @@ gst_qt_mux_pad_reset (GstQTPad * qtpad)
|
|||
qtpad->buf_head = 0;
|
||||
qtpad->buf_tail = 0;
|
||||
|
||||
if (qtpad->last_buf)
|
||||
gst_buffer_replace (&qtpad->last_buf, NULL);
|
||||
gst_buffer_replace (&qtpad->last_buf, NULL);
|
||||
|
||||
if (qtpad->tags) {
|
||||
gst_tag_list_unref (qtpad->tags);
|
||||
|
|
|
@ -2969,8 +2969,8 @@ qtdemux_parse_moof (GstQTDemux * qtdemux, const guint8 * buffer, guint length,
|
|||
GST_TIME_ARGS (decode_time_ts));
|
||||
|
||||
/* Discard the fragment buffer timestamp info to avoid using it.
|
||||
* Rely on tfdt instead as it is more accurate than the timetamp
|
||||
* that is fetches from a manifest/playlist and is usually
|
||||
* Rely on tfdt instead as it is more accurate than the timestamp
|
||||
* that is fetched from a manifest/playlist and is usually
|
||||
* less accurate. */
|
||||
qtdemux->fragment_start = -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue