]> git.sesse.net Git - vlc/commitdiff
Set dummy decoder output format.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 24 Feb 2009 19:28:03 +0000 (20:28 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 24 Feb 2009 22:45:39 +0000 (23:45 +0100)
modules/misc/dummy/decoder.c

index 6f09676b499ab169f0d87b4f2deca18f483c2bf2..06b1644204ac10afe6b1e38a25238c573a99312e 100644 (file)
@@ -117,6 +117,8 @@ static int OpenDecoderCommon( vlc_object_t *p_this, bool b_force_dump )
     p_dec->pf_decode_sub = (subpicture_t *(*)(decoder_t *, block_t **))
         DecodeBlock;
 
+    es_format_Copy( &p_dec->fmt_out, &p_dec->fmt_in );
+
     return VLC_SUCCESS;
 }