Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
bf7394d3
Commit
bf7394d3
authored
Sep 24, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start supporting preparse status
parent
857b51f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
include/vlc_meta.h
include/vlc_meta.h
+8
-0
src/playlist/engine.c
src/playlist/engine.c
+2
-3
No files found.
include/vlc_meta.h
View file @
bf7394d3
...
...
@@ -48,6 +48,11 @@
#define VLC_META_CODEC_NAME N_("Codec Name")
#define VLC_META_CODEC_DESCRIPTION N_("Codec Description")
#define ITEM_PREPARSED 0x01
#define ITEM_META_FETCHED 0x02
#define ITEM_ARTURL_FETCHED 0x04
#define ITEM_ART_FETCHED 0x08
struct
vlc_meta_t
{
char
*
psz_title
;
...
...
@@ -67,6 +72,8 @@ struct vlc_meta_t
char
*
psz_publisher
;
char
*
psz_encodedby
;
char
*
psz_arturl
;
int
i_status
;
#if 0
/* track meta information */
int i_track;
...
...
@@ -117,6 +124,7 @@ static inline vlc_meta_t *vlc_meta_New( void )
m
->
psz_publisher
=
NULL
;
m
->
psz_encodedby
=
NULL
;
m
->
psz_arturl
=
NULL
;
m
->
i_status
=
0
;
return
m
;
}
...
...
src/playlist/engine.c
View file @
bf7394d3
...
...
@@ -479,9 +479,8 @@ void playlist_PreparseLoop( playlist_preparse_t *p_obj )
PL_UNLOCK
;
if
(
b_preparsed
)
{
var_SetInteger
(
p_playlist
,
"item-change"
,
p_current
->
i_id
);
p_current
->
p_meta
->
i_status
|=
ITEM_PREPARSED
;
var_SetInteger
(
p_playlist
,
"item-change"
,
p_current
->
i_id
);
}
vlc_gc_decref
(
p_current
);
/* Add to secondary preparse queue */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment