ext/theora/theoradec.c: Add a debug line.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 17 Aug 2004 10:43:55 +0000 (10:43 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 17 Aug 2004 10:43:55 +0000 (10:43 +0000)
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
ext/theora/Makefile.am
ext/theora/theoradec.c

index 9260c40..73cdcdc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 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),
        (gst_ogg_pad_push):
        * ext/ogg/gstoggmux.c: (gst_ogg_mux_init),
index ae1d18e..7b07443 100644 (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)
 
index 75004ab..ced2825 100644 (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;