schrodec: We don't assume packetized input
authorEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 28 May 2012 05:58:52 +0000 (07:58 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 28 May 2012 14:10:17 +0000 (16:10 +0200)
Otherwise the parse vmethod nevers gets called

ext/schroedinger/gstschrodec.c

index 9afb622175b7b4195f91a5ce53d97f1edda5753d..a58daa58990e33c6e1a27ec5b07f111ebf404eb5 100644 (file)
@@ -155,6 +155,7 @@ gst_schro_dec_init (GstSchroDec * schro_dec, GstSchroDecClass * klass)
       gst_schro_dec_sink_query);
 
   schro_dec->decoder = schro_decoder_new ();
+  gst_video_decoder_set_packetized (schro_dec, FALSE);
 }
 
 #define OGG_DIRAC_GRANULE_SHIFT 22