[vlc-commits] commit: Used VLC_CODEC_OGT/CVD in ps demuxer. (Laurent Aimar )
git at videolan.org
git at videolan.org
Wed May 26 23:44:30 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed May 26 23:31:50 2010 +0200| [7074dbe12d4cfa36e47623b9ef2fe5b78e56977b] | committer: Laurent Aimar
Used VLC_CODEC_OGT/CVD in ps demuxer.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7074dbe12d4cfa36e47623b9ef2fe5b78e56977b
---
modules/demux/ps.c | 4 ++--
modules/demux/ps.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/demux/ps.c b/modules/demux/ps.c
index ffab1e7..7bdb388 100644
--- a/modules/demux/ps.c
+++ b/modules/demux/ps.c
@@ -391,8 +391,8 @@ static int Demux( demux_t *p_demux )
/* The popular VCD/SVCD subtitling WinSubMux does not
* renumber the SCRs when merging subtitles into the PES */
if( tk->b_seen &&
- ( tk->fmt.i_codec == VLC_FOURCC('o','g','t',' ') ||
- tk->fmt.i_codec == VLC_FOURCC('c','v','d',' ') ) )
+ ( tk->fmt.i_codec == VLC_CODEC_OGT ||
+ tk->fmt.i_codec == VLC_CODEC_CVD ) )
{
p_sys->i_scr = -1;
}
diff --git a/modules/demux/ps.h b/modules/demux/ps.h
index ae778d6..c432faa 100644
--- a/modules/demux/ps.h
+++ b/modules/demux/ps.h
@@ -112,11 +112,11 @@ static inline int ps_track_fill( ps_track_t *tk, ps_psm_t *p_psm, int i_id )
}
else if( ( i_id&0xff ) == 0x70 )
{
- es_format_Init( &tk->fmt, SPU_ES, VLC_FOURCC('o','g','t',' ') );
+ es_format_Init( &tk->fmt, SPU_ES, VLC_CODEC_OGT );
}
else if( ( i_id&0xfc ) == 0x00 )
{
- es_format_Init( &tk->fmt, SPU_ES, VLC_FOURCC('c','v','d',' ') );
+ es_format_Init( &tk->fmt, SPU_ES, VLC_CODEC_CVD );
}
else if( ( i_id&0xff ) == 0x10 )
{
More information about the vlc-commits
mailing list