case ACCESS_SET_TITLE:
case ACCESS_SET_SEEKPOINT:
case ACCESS_SET_PRIVATE_ID_STATE:
+ case ACCESS_GET_CONTENT_TYPE:
return VLC_EGENERIC;
default:
/* get a raw1394 handle */
if ( !( handle = raw1394_new_handle() ) )
{
- msg_Err( p_access, "raw1394 - failed to get handle: %s.\n", strerror( errno ) );
+ msg_Err( p_access, "raw1394 - failed to get handle: %m." );
return VLC_EGENERIC;
}
if ( ( n_ports = raw1394_get_port_info( handle, pinf, 16 ) ) < 0 )
{
- msg_Err( p_access, "raw1394 - failed to get port info: %s.\n", strerror( errno ) );
+ msg_Err( p_access, "raw1394 - failed to get port info: %m.\n" );
raw1394_destroy_handle( handle );
return VLC_EGENERIC;
}
if ( !handle )
{
- msg_Err( p_access, "raw1394 - failed to get handle: %s.\n", strerror( errno ) );
+ msg_Err( p_access, "raw1394 - failed to get handle: %m." );
return NULL;
}
if ( ( n_ports = raw1394_get_port_info( handle, pinf, 16 ) ) < 0 )
{
- msg_Err( p_access, "raw1394 - failed to get port info: %s.\n", strerror( errno ) );
+ msg_Err( p_access, "raw1394 - failed to get port info: %m." );
raw1394_destroy_handle( handle );
return NULL;
}
/* tell raw1394 which host adapter to use */
if ( raw1394_set_port( handle, port ) < 0 )
{
- msg_Err( p_access, "raw1394 - failed to set set port: %s.\n", strerror( errno ) );
+ msg_Err( p_access, "raw1394 - failed to set set port: %m." );
return NULL;
}