]> git.sesse.net Git - vlc/commitdiff
* modules/mux/mpeg/ts.c: a couple of fixes for DVB subtitles streaming.
authorGildas Bazin <gbazin@videolan.org>
Wed, 6 Oct 2004 17:05:26 +0000 (17:05 +0000)
committerGildas Bazin <gbazin@videolan.org>
Wed, 6 Oct 2004 17:05:26 +0000 (17:05 +0000)
modules/mux/mpeg/ts.c

index 00879305d7fa4419b871de4ee281fbb1360c6090..3df756991ff91b1b9561fa44248a0f52b8d37573 100644 (file)
@@ -651,7 +651,7 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
                 case VLC_FOURCC('d','v','b','s'):
                     p_stream->i_stream_type = 0x06;
                     p_stream->i_es_id = p_input->p_fmt->subs.dvb.i_id;
-                    p_stream->i_stream_id = 0xa0;
+                    p_stream->i_stream_id = 0xbd;
                     break;
                 default:
                     free( p_stream );
@@ -1895,7 +1895,7 @@ static void GetPMT( sout_mux_t *p_mux,
             dvbpsi_descriptor_t *p_descr;
 
             memcpy( sub.i_iso6392_language_code, p_stream->lang, 3 );
-            sub.i_subtitling_type = 0;
+            sub.i_subtitling_type = 0x10; /* no aspect-ratio criticality */
             sub.i_composition_page_id = p_stream->i_es_id & 0xFF;
             sub.i_ancillary_page_id = p_stream->i_es_id >> 16;