Until then...
*/
#if 1
- msleep( MILLISECONDS_PER_SEC * *p_buf );
+ msleep( INT64_C(1000) * *p_buf );
VCDSetOrigin(p_access, p_vcdplayer->origin_lsn,
p_vcdplayer->i_track, &(p_vcdplayer->play_item));
// p_vcd->in_still = false;
char *psz_source;
char *psz_next;
- if( var_InheritInteger( p_access, MODULE_STRING "-PBC" ) ) {
+ if( var_InheritBool( p_access, MODULE_STRING "-PBC" ) ) {
p_itemid->type = VCDINFO_ITEM_TYPE_LID;
p_itemid->num = 1;
*play_single_item = false;
if( !p_access->psz_access || !*p_access->psz_access ) return NULL;
#endif
- if( !p_access->psz_path )
+ if( !p_access->psz_location )
{
return NULL;
}
- psz_parser = psz_source = strdup( p_access->psz_path );
+ psz_parser = psz_source = strdup( p_access->psz_location );
/* Parse input string :
* [device][@[type][title]] */
}
dbg_print( (INPUT_DBG_CALL|INPUT_DBG_EXT), "source: %s: mrl: %s",
- psz_source, p_access->psz_path );
+ psz_source, p_access->psz_location );
p_vcdplayer->psz_source = strdup(psz_source);
p_vcdplayer->i_blocks_per_read = var_InheritInteger( p_this, MODULE_STRING
/* */
case ACCESS_GET_PTS_DELAY:
- *(int64_t*)va_arg(args,int64_t *) = MILLISECONDS_PER_SEC *
+ *(int64_t*)va_arg(args,int64_t *) = INT64_C(1000) *
var_GetInteger( p_access, MODULE_STRING "-caching" );
dbg_print( INPUT_DBG_EVENT, "GET PTS DELAY" );
return VLC_SUCCESS;