From 615f9ba613df7e05386a52627a3171c56491a0f7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 17 Aug 2004 10:43:55 +0000 Subject: [PATCH] ext/theora/theoradec.c: Add a debug line. Original commit message from CVS: * ext/theora/theoradec.c: (gst_theora_dec_class_init), (theora_get_formats), (theora_dec_src_convert), (theora_dec_sink_convert), (theora_dec_src_query), (theora_dec_src_event), (theora_dec_event), (theora_dec_chain): Add a debug line. --- ChangeLog | 8 ++++++++ ext/theora/Makefile.am | 2 +- ext/theora/theoradec.c | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9260c40d04..73cdcdcb92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-08-17 Wim Taymans + + * ext/theora/theoradec.c: (gst_theora_dec_class_init), + (theora_get_formats), (theora_dec_src_convert), + (theora_dec_sink_convert), (theora_dec_src_query), + (theora_dec_src_event), (theora_dec_event), (theora_dec_chain): + Add a debug line. + 2004-08-17 Wim Taymans * ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate), diff --git a/ext/theora/Makefile.am b/ext/theora/Makefile.am index ae1d18e6e0..7b07443845 100644 --- a/ext/theora/Makefile.am +++ b/ext/theora/Makefile.am @@ -4,6 +4,6 @@ plugin_LTLIBRARIES = libgsttheora.la libgsttheora_la_SOURCES = theora.c theoradec.c theoraenc.c libgsttheora_la_CFLAGS = $(GST_CFLAGS) $(THEORA_CFLAGS) -libgsttheora_la_LIBADD = $(THEORA_LIBS) #-ltheora -lvorbis +libgsttheora_la_LIBADD = $(THEORA_LIBS) -ltheora -lvorbis libgsttheora_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c index 75004ab4ad..ced2825f21 100644 --- a/ext/theora/theoradec.c +++ b/ext/theora/theoradec.c @@ -657,6 +657,7 @@ theora_dec_chain (GstPad * pad, GstData * data) if (keyframe) { dec->need_keyframe = FALSE; } else if (dec->need_keyframe) { + GST_WARNING_OBJECT (dec, "dropping frame because we need a keyframe"); /* drop frames if we're looking for a keyframe */ gst_data_unref (data); return;