Commit 8d2862dc authored by Laurent Aimar's avatar Laurent Aimar

Let libmpeg2 decode mp1v/mp2v too.

parent 105926ff
......@@ -119,8 +119,11 @@ static int OpenDecoder( vlc_object_t *p_this )
decoder_sys_t *p_sys;
uint32_t i_accel = 0;
if( p_dec->fmt_in.i_codec != VLC_CODEC_MPGV )
if( p_dec->fmt_in.i_codec != VLC_CODEC_MP1V &&
p_dec->fmt_in.i_codec != VLC_CODEC_MP2V &&
p_dec->fmt_in.i_codec != VLC_CODEC_MPGV )
return VLC_EGENERIC;
/* Select onl recognized original format (standard mpeg video) */
switch( p_dec->fmt_in.i_original_fourcc )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment