mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
matroskamux: Remove more unneeded warnings
This commit is contained in:
parent
7fc21317af
commit
bfaeffcfd0
1 changed files with 0 additions and 10 deletions
|
@ -2593,8 +2593,6 @@ gst_matroska_mux_write_data (GstMatroskaMux * mux, GstMatroskaPad * collect_pad)
|
|||
mux->cluster_pos = ebml->pos;
|
||||
gst_ebml_write_set_cache (ebml, 0x20);
|
||||
mux->cluster = gst_ebml_write_master_start (ebml, GST_MATROSKA_ID_CLUSTER);
|
||||
GST_WARNING_OBJECT (mux, "cluster timestamp %" G_GUINT64_FORMAT,
|
||||
gst_util_uint64_scale (GST_BUFFER_TIMESTAMP (buf), 1, mux->time_scale));
|
||||
gst_ebml_write_uint (ebml, GST_MATROSKA_ID_CLUSTERTIMECODE,
|
||||
gst_util_uint64_scale (GST_BUFFER_TIMESTAMP (buf), 1, mux->time_scale));
|
||||
gst_ebml_write_flush_cache (ebml, TRUE);
|
||||
|
@ -2650,8 +2648,6 @@ gst_matroska_mux_write_data (GstMatroskaMux * mux, GstMatroskaPad * collect_pad)
|
|||
write_duration = TRUE;
|
||||
}
|
||||
}
|
||||
GST_WARNING_OBJECT (mux, "block duration set as %" G_GUINT64_FORMAT,
|
||||
block_duration);
|
||||
|
||||
/* write the block, for doctype v2 use SimpleBlock if possible
|
||||
* one slice (*breath*).
|
||||
|
@ -2666,9 +2662,6 @@ gst_matroska_mux_write_data (GstMatroskaMux * mux, GstMatroskaPad * collect_pad)
|
|||
}
|
||||
relative_timestamp = gst_util_uint64_scale (relative_timestamp64, 1,
|
||||
mux->time_scale);
|
||||
GST_WARNING_OBJECT (mux,
|
||||
"incoming timestamp %" G_GUINT64_FORMAT " relative timestamp output %"
|
||||
G_GUINT64_FORMAT, GST_BUFFER_TIMESTAMP (buf), relative_timestamp);
|
||||
if (mux->doctype_version > 1 && !write_duration) {
|
||||
int flags =
|
||||
GST_BUFFER_FLAG_IS_SET (buf, GST_BUFFER_FLAG_DELTA_UNIT) ? 0 : 0x80;
|
||||
|
@ -2693,9 +2686,6 @@ gst_matroska_mux_write_data (GstMatroskaMux * mux, GstMatroskaPad * collect_pad)
|
|||
gst_matroska_mux_create_buffer_header (collect_pad->track,
|
||||
relative_timestamp, 0);
|
||||
if (write_duration) {
|
||||
GST_WARNING_OBJECT (mux, "duration output as %" G_GUINT64_FORMAT,
|
||||
gst_util_uint64_scale (block_duration, 1, mux->time_scale));
|
||||
|
||||
gst_ebml_write_uint (ebml, GST_MATROSKA_ID_BLOCKDURATION,
|
||||
gst_util_uint64_scale (block_duration, 1, mux->time_scale));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue