VLC 4.0.0-dev
|
Functions | |
void | vlc_player_input_RestoreMlStates (struct vlc_player_input *input, bool force_pos) |
static bool | vlc_player_UpdateMediaType (const struct vlc_player_input *input, vlc_medialibrary_t *ml, vlc_ml_media_t *media) |
static void | vlc_player_CompareAssignState (char **target_ptr, char **input_ptr) |
void | vlc_player_UpdateMLStates (vlc_player_t *player, struct vlc_player_input *input) |
void | vlc_player_RestorePlaybackPos (vlc_player_t *player) |
Restore the previous playback position of the current media. | |
|
static |
Referenced by vlc_player_UpdateMLStates().
void vlc_player_input_RestoreMlStates | ( | struct vlc_player_input * | input, |
bool | force_pos | ||
) |
References vlc_ml_playback_states_all::aspect_ratio, AUDIO_ES, vlc_ml_playback_states_all::current_audio_track, vlc_ml_playback_states_all::current_subtitle_track, vlc_ml_playback_states_all::current_title, vlc_ml_playback_states_all::current_video_track, vlc_ml_playback_states_all::deinterlace, vlc_player_input::delay_restore, vlc_ml_media_t::f_progress, vlc_ml_media_t::i_id, vlc_ml_media_t::i_type, input_GetItem(), input_SetPosition(), vlc_player_input::ml, vlc_player_input::player, vlc_player_input::pos, input_item_t::psz_uri, vlc_ml_playback_states_all::rate, vlc_player_input::restore, vlc_player_input::restore_states, SPU_ES, vlc_player_input::states, vlc_player_input::thread, var_InheritBool(), var_InheritInteger(), var_SetFloat(), var_SetInteger(), var_SetString(), VIDEO_ES, vlc_ml_playback_states_all::video_filter, vlc_ml_get_media_by_mrl(), vlc_ml_instance_get, vlc_ml_media_get_all_playback_pref(), VLC_ML_MEDIA_TYPE_VIDEO, vlc_ml_release, vlc_player_assert_locked(), vlc_player_ChangeRate(), vlc_player_input_SelectTracksByStringIds(), VLC_PLAYER_RESTORE_PLAYBACK_POS_ALWAYS, VLC_PLAYER_RESTORE_PLAYBACK_POS_ASK, vlc_player_vout_Hold(), VLC_SUCCESS, vout_Release(), and vlc_ml_playback_states_all::zoom.
Referenced by vlc_player_input_New(), and vlc_player_RestorePlaybackPos().
|
static |
References vlc_player_input::has_audio_tracks, vlc_player_input::has_video_tracks, vlc_ml_media_t::i_id, vlc_ml_media_t::i_type, vlc_player_input::ml, vlc_ml_media_set_type(), VLC_ML_MEDIA_TYPE_AUDIO, VLC_ML_MEDIA_TYPE_UNKNOWN, VLC_ML_MEDIA_TYPE_VIDEO, and VLC_SUCCESS.
Referenced by vlc_player_UpdateMLStates().
void vlc_player_UpdateMLStates | ( | vlc_player_t * | player, |
struct vlc_player_input * | input | ||
) |
References vlc_ml_playback_states_all::aspect_ratio, AUDIO_ES, vlc_ml_playback_states_all::crop, vlc_ml_playback_states_all::current_audio_track, vlc_ml_playback_states_all::current_subtitle_track, vlc_ml_playback_states_all::current_title, vlc_ml_playback_states_all::current_video_track, vlc_ml_playback_states_all::deinterlace, vlc_player_track::es_id, vlc_ml_media_t::i_id, vlc_ml_media_t::i_type, input_GetItem(), vlc_player_input::ml, vlc_player_t::obj, vlc_object_internals::parent, vlc_player_input::position, vlc_object_t::priv, input_item_t::psz_uri, vlc_ml_playback_states_all::rate, vlc_player_input::rate, vlc_player_track::selected, SPU_ES, vlc_player_input::states, vlc_player_track_priv::t, vlc_player_input::thread, vlc_player_input::title_selected, var_GetBool(), var_GetFloat(), var_GetNonEmptyString(), VIDEO_ES, vlc_ml_playback_states_all::video_filter, vlc_player_input::video_track_vector, vlc_ml_get_media_by_mrl(), vlc_ml_instance_get, vlc_ml_media_set_all_playback_states(), VLC_ML_MEDIA_TYPE_UNKNOWN, vlc_ml_media_update_progress(), vlc_ml_new_external_media(), vlc_ml_release, vlc_object_instance, vlc_player_CompareAssignState(), vlc_player_GetEsIdVout(), vlc_player_input_GetSelectedTrackStringIds(), vlc_player_UpdateMediaType(), vlc_vector_foreach, VLC_VOUT_ORDER_PRIMARY, vlc_player_track_priv::vout, and vlc_ml_playback_states_all::zoom.
Referenced by vlc_player_destructor_Thread().