Commit 11520bc2 authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Fixed MPEG2 video decoding used in RTSP.

(cherry picked from commit 7d8a47a7)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c7477b79
...@@ -913,6 +913,7 @@ static int SessionsSetup( demux_t *p_demux ) ...@@ -913,6 +913,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