mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
License is GST_LICENSE, make own debugging category and fix some debug statements
Original commit message from CVS: License is GST_LICENSE, make own debugging category and fix some debug statements
This commit is contained in:
parent
2f56fff195
commit
4db301b2e5
1 changed files with 9 additions and 3 deletions
|
@ -27,6 +27,9 @@
|
||||||
#include "gstavidemux.h"
|
#include "gstavidemux.h"
|
||||||
#include "gstavimux.h"
|
#include "gstavimux.h"
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_STATIC (avidemux_debug);
|
||||||
|
#define GST_CAT_DEFAULT avidemux_debug
|
||||||
|
|
||||||
/* AviDemux signals and args */
|
/* AviDemux signals and args */
|
||||||
enum {
|
enum {
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
|
@ -1818,7 +1821,7 @@ gst_avi_demux_loop (GstElement *element)
|
||||||
|
|
||||||
stream = &avi_demux->stream[stream_id];
|
stream = &avi_demux->stream[stream_id];
|
||||||
|
|
||||||
GST_DEBUG ("gst_avi_demux_chain: tag found %08x size %08x stream_id %d",
|
GST_LOG_OBJECT (avi_demux, "gst_avi_demux_chain: tag found %08x size %08x stream_id %d",
|
||||||
chunk.id, chunk.size, stream_id);
|
chunk.id, chunk.size, stream_id);
|
||||||
|
|
||||||
format = GST_FORMAT_TIME;
|
format = GST_FORMAT_TIME;
|
||||||
|
@ -1858,7 +1861,8 @@ gst_avi_demux_loop (GstElement *element)
|
||||||
/* FIXME, do some flush event here */
|
/* FIXME, do some flush event here */
|
||||||
stream->need_flush = FALSE;
|
stream->need_flush = FALSE;
|
||||||
}
|
}
|
||||||
GST_DEBUG ("send stream %d: %" G_GINT64_FORMAT " %d %" G_GINT64_FORMAT " %08x",
|
GST_LOG_OBJECT (avi_demux, "send stream %d: %"
|
||||||
|
G_GINT64_FORMAT " %d %" G_GINT64_FORMAT " %08x",
|
||||||
stream_id, next_ts, stream->current_frame - 1,
|
stream_id, next_ts, stream->current_frame - 1,
|
||||||
stream->delay, chunk.size);
|
stream->delay, chunk.size);
|
||||||
|
|
||||||
|
@ -1967,6 +1971,8 @@ plugin_init (GstPlugin *plugin)
|
||||||
if (!gst_library_load("gstvideo"))
|
if (!gst_library_load("gstvideo"))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
GST_DEBUG_CATEGORY_INIT (avidemux_debug, "avidemux", 0, "Demuxer for AVI video");
|
||||||
|
|
||||||
if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY,
|
if (!gst_element_register (plugin, "avidemux", GST_RANK_PRIMARY,
|
||||||
GST_TYPE_AVI_DEMUX)) {
|
GST_TYPE_AVI_DEMUX)) {
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -1988,7 +1994,7 @@ GST_PLUGIN_DEFINE (
|
||||||
"AVI stream handling",
|
"AVI stream handling",
|
||||||
plugin_init,
|
plugin_init,
|
||||||
VERSION,
|
VERSION,
|
||||||
"LGPL",
|
GST_LICENSE,
|
||||||
GST_COPYRIGHT,
|
GST_COPYRIGHT,
|
||||||
GST_PACKAGE,
|
GST_PACKAGE,
|
||||||
GST_ORIGIN
|
GST_ORIGIN
|
||||||
|
|
Loading…
Reference in a new issue