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.
This commit is contained in:
Wim Taymans 2004-08-17 10:43:55 +00:00
parent 202a0de690
commit 615f9ba613
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2004-08-17 Wim Taymans <wim@fluendo.com>
* 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 <wim@fluendo.com>
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_iterate),

View file

@ -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)

View file

@ -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;