[vlc-commits] demux: asf: fix ms-dvr truncated frames (fix #14414)
Francois Cartegnie
git at videolan.org
Tue Apr 21 23:14:44 CEST 2015
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Apr 21 22:08:01 2015 +0200| [09f30022c706308e16674405d23f1d0949ad67e2] | committer: 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: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=09f30022c706308e16674405d23f1d0949ad67e2
---
modules/demux/asf/asf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/asf/asf.c b/modules/demux/asf/asf.c
index b133410..f8406ed 100644
--- a/modules/demux/asf/asf.c
+++ b/modules/demux/asf/asf.c
@@ -1344,7 +1344,7 @@ static int DemuxInit( demux_t *p_demux )
if( fmt.i_codec == VLC_FOURCC( 'D','V','R',' ') )
{
/* DVR-MS special ASF */
- fmt.i_codec = VLC_FOURCC( 'm','p','g','2' ) ;
+ fmt.i_codec = VLC_CODEC_MPGV;
fmt.b_packetized = false;
}
More information about the vlc-commits
mailing list