[vlc-commits] demux: ts: set original fourcc for MPEG1 streams
Francois Cartegnie
git at videolan.org
Mon Apr 4 14:44:32 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Apr 4 13:22:05 2016 +0200| [72aa91bcd7038b79d1e8dde136281e25bab7df90] | committer: Francois Cartegnie
demux: ts: set original fourcc for MPEG1 streams
Should be same issue as fixed by 5fdfe6805b5e84515dd363e73d4429b386a6c281
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72aa91bcd7038b79d1e8dde136281e25bab7df90
---
modules/demux/mpeg/ts_psi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index 2eab57a..da7d79a 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1195,6 +1195,9 @@ static void PIDFillFormat( demux_t *p_demux, ts_pes_t *p_pes,
switch( i_stream_type )
{
case 0x01: /* MPEG-1 video */
+ es_format_Init( fmt, VIDEO_ES, VLC_CODEC_MPGV );
+ fmt->i_original_fourcc = VLC_CODEC_MP1V;
+ break;
case 0x02: /* MPEG-2 video */
case 0x80: /* MPEG-2 MOTO video */
es_format_Init( fmt, VIDEO_ES, VLC_CODEC_MPGV );
More information about the vlc-commits
mailing list