[vlc-devel] commit: Set dummy decoder output format. (Laurent Aimar )
git version control
git at videolan.org
Tue Feb 24 23:47:01 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Feb 24 20:28:03 2009 +0100| [b272e1a1180ca1b24161a9239812aacbc02d840b] | committer: Laurent Aimar
Set dummy decoder output format.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b272e1a1180ca1b24161a9239812aacbc02d840b
---
modules/misc/dummy/decoder.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/misc/dummy/decoder.c b/modules/misc/dummy/decoder.c
index 6f09676..06b1644 100644
--- a/modules/misc/dummy/decoder.c
+++ b/modules/misc/dummy/decoder.c
@@ -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;
}
More information about the vlc-devel
mailing list