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

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 )
*va_arg( args, unsigned * ) = p_sys->cur_seekpoint;
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:
/* ignore - only one title */
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