mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
matroskademux: Earlier debug category initialization
This commit is contained in:
parent
63bb9807a3
commit
eab982ce60
1 changed files with 6 additions and 6 deletions
|
@ -229,10 +229,6 @@ gst_matroska_demux_class_init (GstMatroskaDemuxClass * klass)
|
|||
GObjectClass *gobject_class = (GObjectClass *) klass;
|
||||
GstElementClass *gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
/* parser helper separate debug */
|
||||
GST_DEBUG_CATEGORY_INIT (ebmlread_debug, "ebmlread",
|
||||
0, "EBML stream helper class");
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (matroskademux_debug, "matroskademux", 0,
|
||||
"Matroska demuxer");
|
||||
|
||||
|
@ -2693,8 +2689,8 @@ gst_matroska_demux_handle_seek_event (GstMatroskaDemux * demux,
|
|||
entry->pos + demux->ebml_segment_start);
|
||||
}
|
||||
|
||||
flush = ! !(flags & GST_SEEK_FLAG_FLUSH);
|
||||
keyunit = ! !(flags & GST_SEEK_FLAG_KEY_UNIT);
|
||||
flush = !!(flags & GST_SEEK_FLAG_FLUSH);
|
||||
keyunit = !!(flags & GST_SEEK_FLAG_KEY_UNIT);
|
||||
|
||||
if (flush) {
|
||||
GST_DEBUG_OBJECT (demux, "Starting flush");
|
||||
|
@ -7108,6 +7104,10 @@ gst_matroska_demux_plugin_init (GstPlugin * plugin)
|
|||
{
|
||||
gst_riff_init ();
|
||||
|
||||
/* parser helper separate debug */
|
||||
GST_DEBUG_CATEGORY_INIT (ebmlread_debug, "ebmlread",
|
||||
0, "EBML stream helper class");
|
||||
|
||||
/* create an elementfactory for the matroska_demux element */
|
||||
if (!gst_element_register (plugin, "matroskademux",
|
||||
GST_RANK_PRIMARY, GST_TYPE_MATROSKA_DEMUX))
|
||||
|
|
Loading…
Reference in a new issue