Commit 5e2c9b52 authored by Clément Stenac's avatar Clément Stenac

Gra. Fix most of TS meta

parent 19738f6a
...@@ -2434,7 +2434,7 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt ) ...@@ -2434,7 +2434,7 @@ static void SDTCallBack( demux_t *p_demux, dvbpsi_sdt_t *p_sdt )
pD->i_service_type, str1, str2 ); pD->i_service_type, str1, str2 );
vlc_meta_SetTitle( p_meta, str2 ); vlc_meta_SetTitle( p_meta, str2 );
vlc_meta_SetProvider( p_meta, str1 ); vlc_meta_SetPublisher( p_meta, str1 );
if( pD->i_service_type >= 0x01 && pD->i_service_type <= 0x10 ) if( pD->i_service_type >= 0x01 && pD->i_service_type <= 0x10 )
vlc_meta_Add( p_meta, "Type", psz_type[pD->i_service_type] ); vlc_meta_Add( p_meta, "Type", psz_type[pD->i_service_type] );
} }
......
...@@ -574,7 +574,7 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, vlc_meta_t *p_meta ) ...@@ -574,7 +574,7 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, vlc_meta_t *p_meta )
sprintf( psz_cat, "%s %d", _("Program"), i_group ); sprintf( psz_cat, "%s %d", _("Program"), i_group );
if( p_meta->psz_title ) psz_title = p_meta->psz_title; if( p_meta->psz_title ) psz_title = p_meta->psz_title;
if( p_meta->psz_provider) psz_provider = p_meta->psz_provider; if( p_meta->psz_provider) psz_provider = p_meta->psz_publisher;
if( p_meta->psz_nowplaying ) psz_now_playing = p_meta->psz_nowplaying; if( p_meta->psz_nowplaying ) psz_now_playing = p_meta->psz_nowplaying;
if( !psz_title && !psz_now_playing ) if( !psz_title && !psz_now_playing )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment