[vlc-devel] commit: Used VLC_CODEC_BD_PG in TS demuxer. (Laurent Aimar )

git version control git at videolan.org
Thu Aug 27 23:47:58 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Aug 27 23:27:14 2009 +0200| [2a89d905f0882303a20d01cd34414d3bc080232a] | committer: Laurent Aimar 

Used VLC_CODEC_BD_PG in TS demuxer.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a89d905f0882303a20d01cd34414d3bc080232a
---

 modules/demux/ts.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 95e5a22..8c6dfbb 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -3649,6 +3649,9 @@ static void PMTSetupEsHDMV( demux_t *p_demux, ts_pid_t *pid,
         p_fmt->i_codec = VLC_CODEC_EAC3;
         break;
     case 0x90: /* Presentation graphics */
+        p_fmt->i_cat = SPU_ES;
+        p_fmt->i_codec = VLC_CODEC_BD_PG;
+        break;
     case 0x91: /* Interactive graphics */
     case 0x92: /* Subtitle */
     default:




More information about the vlc-devel mailing list