Commit 4c8f79f7 authored by Laurent Aimar's avatar Laurent Aimar

Added teletext-es description as page number to help interfaces.

parent b6fbc90c
...@@ -921,7 +921,14 @@ static void EsOutESVarUpdateGeneric( es_out_t *out, int i_id, ...@@ -921,7 +921,14 @@ static void EsOutESVarUpdateGeneric( es_out_t *out, int i_id,
input_SendEventEsAdd( p_input, fmt->i_cat, i_id, text.psz_string ); input_SendEventEsAdd( p_input, fmt->i_cat, i_id, text.psz_string );
if( EsFmtIsTeletext( fmt ) ) if( EsFmtIsTeletext( fmt ) )
input_SendEventTeletextAdd( p_sys->p_input, i_id, NULL ); {
char psz_page[3+1];
snprintf( psz_page, sizeof(psz_page), "%d%2.2x",
fmt->subs.teletext.i_magazine,
fmt->subs.teletext.i_page );
input_SendEventTeletextAdd( p_sys->p_input,
i_id, fmt->subs.teletext.i_magazine >= 0 ? psz_page : NULL );
}
free( text.psz_string ); free( text.psz_string );
} }
......
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