Skip to content

Commit

Permalink
meta_fetcher: rename as scope and set values
Browse files Browse the repository at this point in the history
  • Loading branch information
fcartegnie committed May 21, 2014
1 parent 66a61fe commit 44c6d79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions include/vlc_input_item.h
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,10 @@ VLC_API void input_item_Release(input_item_t *);

typedef enum input_item_meta_request_option_t
{
META_REQUEST_OPTION_NONE = 0,
META_REQUEST_OPTION_LOCAL = 1 << 0,
META_REQUEST_OPTION_NETWORK = 1 << 1,
META_REQUEST_OPTION_ANY = 1 << 2
META_REQUEST_OPTION_NONE = 0x00,
META_REQUEST_OPTION_SCOPE_LOCAL = 0x01,
META_REQUEST_OPTION_SCOPE_NETWORK = 0x02,
META_REQUEST_OPTION_SCOPE_ANY = 0x03
} input_item_meta_request_option_t;

VLC_API int libvlc_MetaRequest(libvlc_int_t *, input_item_t *,
Expand Down
6 changes: 3 additions & 3 deletions include/vlc_meta_fetcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@

typedef enum meta_fetcher_scope_t
{
FETCHER_SCOPE_LOCAL,
FETCHER_SCOPE_NETWORK,
FETCHER_SCOPE_ANY
FETCHER_SCOPE_LOCAL = 0x01,
FETCHER_SCOPE_NETWORK = 0x02,
FETCHER_SCOPE_ANY = 0x03
} meta_fetcher_scope_t;

typedef struct meta_fetcher_t
Expand Down
2 changes: 1 addition & 1 deletion modules/gui/qt4/input_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ void InputManager::requestArtUpdate( input_item_t *p_item, bool b_forced )
return;
}
libvlc_ArtRequest( p_intf->p_libvlc, p_item,
(b_forced) ? META_REQUEST_OPTION_ANY
(b_forced) ? META_REQUEST_OPTION_SCOPE_ANY
: META_REQUEST_OPTION_NONE );
/* No input will signal the cover art to update,
* let's do it ourself */
Expand Down

0 comments on commit 44c6d79

Please sign in to comment.