Commit 09f30022 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

demux: asf: fix ms-dvr truncated frames (fix #14414)

Since the copy mpeg2 packetizer is no longer accepting
mpg2 fourcc, the -broken- ms-dvr files are not
packetized.

(cherry picked from commit f7ffd0132121652b85ab5fd49ad4a2423172b182)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 22eda20b
...@@ -1344,7 +1344,7 @@ static int DemuxInit( demux_t *p_demux ) ...@@ -1344,7 +1344,7 @@ static int DemuxInit( demux_t *p_demux )
if( fmt.i_codec == VLC_FOURCC( 'D','V','R',' ') ) if( fmt.i_codec == VLC_FOURCC( 'D','V','R',' ') )
{ {
/* DVR-MS special ASF */ /* DVR-MS special ASF */
fmt.i_codec = VLC_FOURCC( 'm','p','g','2' ) ; fmt.i_codec = VLC_CODEC_MPGV;
fmt.b_packetized = false; fmt.b_packetized = false;
} }
......
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