ext/theora/theoradec.c: Send events on the right pads, since they don't work very...
authorMichael Smith <msmith@xiph.org>
Sun, 26 Nov 2006 17:23:14 +0000 (17:23 +0000)
committerMichael Smith <msmith@xiph.org>
Sun, 26 Nov 2006 17:23:14 +0000 (17:23 +0000)
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_src_query),
(theora_dec_src_event), (theora_handle_data_packet),
(theora_dec_chain):
Send events on the right pads, since they don't work very well if
you send them in the wrong direction.

ChangeLog
ext/theora/theoradec.c

index 529ebb125342a128f79d19e6471492955ecf1bdf..df7f1523bfc6b4084a4e51c9c148d1d5effd405a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-11-26  Michael Smith  <msmith@fluendo.com>
+
+       * ext/theora/theoradec.c: (theora_dec_src_query),
+       (theora_dec_src_event), (theora_handle_data_packet),
+       (theora_dec_chain):
+         Send events on the right pads, since they don't work very well if
+         you send them in the wrong direction.
+
 2006-11-24  Stefan Kost  <ensonic@users.sf.net>
 
        * ext/audiofile/gstafsink.c:
index 7d801f9d8645c87ff8efe053a1a98f31c8d57262..f2ab27a36211f4173daf910129ba2c336b1767ee 100644 (file)
@@ -543,11 +543,11 @@ theora_dec_src_event (GstPad * pad, GstEvent * event)
       dec->earliest_time = timestamp + diff;
       GST_OBJECT_UNLOCK (dec);
 
-      res = gst_pad_event_default (dec->sinkpad, event);
+      res = gst_pad_event_default (pad, event);
       break;
     }
     default:
-      res = gst_pad_event_default (dec->sinkpad, event);
+      res = gst_pad_event_default (pad, event);
       break;
   }
 done: