Be sure to set b_packetized in demux_PacketizerNew.
authorLaurent Aimar <fenrir@videolan.org>
Wed, 29 Apr 2009 18:40:06 +0000 (20:40 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 30 Apr 2009 19:01:34 +0000 (21:01 +0200)
src/input/demux.c

index dfbcb62..781dfb7 100644 (file)
@@ -307,6 +307,7 @@ decoder_t *demux_PacketizerNew( demux_t *p_demux, es_format_t *p_fmt, const char
         es_format_Clean( p_fmt );
         return NULL;
     }
+    p_fmt->b_packetized = false;
 
     p_packetizer->pf_decode_audio = NULL;
     p_packetizer->pf_decode_video = NULL;