Commit d9ef65a4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

vdr: implement ACCESS_GET_CONTENT_TYPE

parent c13786ed
...@@ -308,6 +308,11 @@ static int Control( access_t *p_access, int i_query, va_list args ) ...@@ -308,6 +308,11 @@ static int Control( access_t *p_access, int i_query, va_list args )
*va_arg( args, unsigned * ) = p_sys->cur_seekpoint; *va_arg( args, unsigned * ) = p_sys->cur_seekpoint;
break; break;
case ACCESS_GET_CONTENT_TYPE:
*va_arg( args, char ** ) =
strdup( p_sys->b_ts_format ? "video/MP2T" : "video/mpeg" );
break;
case ACCESS_SET_TITLE: case ACCESS_SET_TITLE:
/* ignore - only one title */ /* ignore - only one title */
break; break;
......
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