From: Wim Taymans Date: Tue, 17 Aug 2004 10:43:55 +0000 (+0000) Subject: ext/theora/theoradec.c: Add a debug line. X-Git-Tag: BRANCH-GSTREAMER-0_8-ROOT~693 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=615f9ba613df7e05386a52627a3171c56491a0f7;p=platform%2Fupstream%2Fgst-plugins-base.git 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. --- diff --git a/ChangeLog b/ChangeLog index 9260c40d0..73cdcdcb9 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 ae1d18e6e..7b0744384 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 75004ab4a..ced2825f2 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;