mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
matroska: Avoid debugging below category threshold
This part alone was what made the matroska thread take a full core on an android phone ...
This commit is contained in:
parent
d5aab81a77
commit
9fa85f72e1
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ gst_ebml_peek_id_full (GstEbmlRead * ebml, guint32 * id, guint64 * length,
|
|||
gst_ebml_read_get_pos (ebml), *length, *prefix);
|
||||
|
||||
#ifndef GST_DISABLE_GST_DEBUG
|
||||
{
|
||||
if (ebmlread_debug->threshold >= GST_LEVEL_LOG) {
|
||||
const guint8 *data = NULL;
|
||||
GstByteReader *br = gst_ebml_read_br (ebml);
|
||||
guint size = gst_byte_reader_get_remaining (br);
|
||||
|
|
Loading…
Reference in a new issue