X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcontrol%2Fmedia_internal.h;h=cd1c42aacfcd161c9a3a58282e5ed67b88e72341;hb=f4d4a5e0f2ced2bcb300289de040356ffd97e52b;hp=48a6fa8fad77f2533ecac9a391230dc9064dea00;hpb=c5c06b64c806052086e5772d64e540a8db7e4a9b;p=vlc diff --git a/src/control/media_internal.h b/src/control/media_internal.h index 48a6fa8fad..cd1c42aacf 100644 --- a/src/control/media_internal.h +++ b/src/control/media_internal.h @@ -34,22 +34,25 @@ struct libvlc_media_t { libvlc_event_manager_t * p_event_manager; - int b_preparsed; input_item_t *p_input_item; int i_refcount; libvlc_instance_t *p_libvlc_instance; libvlc_state_t state; VLC_FORWARD_DECLARE_OBJECT(libvlc_media_list_t*) p_subitems; /* A media descriptor can have Sub items. This is the only dependancy we really have on media_list */ void *p_user_data; + + vlc_cond_t parsed_cond; + vlc_mutex_t parsed_lock; + + bool is_parsed; + bool has_asked_preparse; + bool has_asked_art; }; /* Media Descriptor */ libvlc_media_t * libvlc_media_new_from_input_item( - libvlc_instance_t *, input_item_t *, - libvlc_exception_t * ); + libvlc_instance_t *, input_item_t * ); -void libvlc_media_set_state( - libvlc_media_t *, libvlc_state_t, - libvlc_exception_t * ); +void libvlc_media_set_state( libvlc_media_t *, libvlc_state_t ); #endif