Commit 7d8a47a7 authored by Laurent Aimar's avatar Laurent Aimar

Fixed MPEG2 video decoding used in RTSP.

parent fdf2f0fc
...@@ -908,6 +908,7 @@ static int SessionsSetup( demux_t *p_demux ) ...@@ -908,6 +908,7 @@ static int SessionsSetup( demux_t *p_demux )
if( !strcmp( sub->codecName(), "MPV" ) ) if( !strcmp( sub->codecName(), "MPV" ) )
{ {
tk->fmt.i_codec = VLC_CODEC_MPGV; tk->fmt.i_codec = VLC_CODEC_MPGV;
tk->fmt.b_packetized = false;
} }
else if( !strcmp( sub->codecName(), "H263" ) || else if( !strcmp( sub->codecName(), "H263" ) ||
!strcmp( sub->codecName(), "H263-1998" ) || !strcmp( sub->codecName(), "H263-1998" ) ||
......
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