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 9260c40d048c6ee44e4ca72a6dd17d7a028035a6..73cdcdcb92fe36ba3553942647ef9f656236b83a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
index ae1d18e6e0cd541980bad77a79c05706520b7952..7b0744384545cfa37a08f316b9b483aa684b9a43 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 75004ab4ad5d71514d249c539c97a12accb99e73..ced2825f21873b813a200d1ffadae9690cf103fd 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;