Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
f788fa20
Commit
f788fa20
authored
Oct 20, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
access: fix ACCESS_GET_META and STREAM_GET_META mismatches
parent
f96d7832
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
include/vlc_access.h
include/vlc_access.h
+1
-1
include/vlc_stream.h
include/vlc_stream.h
+1
-1
modules/access/vcdx/access.c
modules/access/vcdx/access.c
+2
-2
modules/access/vdr.c
modules/access/vdr.c
+0
-2
No files found.
include/vlc_access.h
View file @
f788fa20
...
...
@@ -52,7 +52,7 @@ enum access_query_e
ACCESS_GET_SEEKPOINT
,
/* arg1=unsigned * res=can fail */
/* Meta data */
ACCESS_GET_META
,
/* arg1= vlc_meta_t *
*
res=can fail */
ACCESS_GET_META
,
/* arg1= vlc_meta_t * res=can fail */
ACCESS_GET_CONTENT_TYPE
,
/* arg1=char **ppsz_content_type res=can fail */
ACCESS_GET_SIGNAL
,
/* arg1=double *pf_quality, arg2=double *pf_strength res=can fail */
...
...
include/vlc_stream.h
View file @
f788fa20
...
...
@@ -87,7 +87,7 @@ enum stream_query_e
STREAM_GET_TITLE_INFO
,
/**< arg1=input_title_t*** arg2=int* res=can fail */
STREAM_GET_TITLE
,
/**< arg1=unsigned * res=can fail */
STREAM_GET_SEEKPOINT
,
/**< arg1=unsigned * res=can fail */
STREAM_GET_META
,
/**< arg1= vlc_meta_t *
*
res=can fail */
STREAM_GET_META
,
/**< arg1= vlc_meta_t * res=can fail */
STREAM_GET_CONTENT_TYPE
,
/**< arg1= char ** res=can fail */
STREAM_GET_SIGNAL
,
/**< arg1=double *pf_quality, arg2=double *pf_strength res=can fail */
...
...
modules/access/vcdx/access.c
View file @
f788fa20
...
...
@@ -964,9 +964,9 @@ static int VCDControl( access_t *p_access, int i_query, va_list args )
dbg_print( INPUT_DBG_EVENT, "get meta info" );
if( p_vcdplayer->p_meta )
{
vlc_meta_t *
*pp_meta = (vlc_meta_t**)va_arg(args,vlc_meta_t*
*);
vlc_meta_t *
p_meta = va_arg(args,vlc_meta_t
*);
*pp_meta = vlc_meta_Duplicate(
p_vcdplayer->p_meta );
vlc_meta_Merge( p_meta,
p_vcdplayer->p_meta );
dbg_print( INPUT_DBG_META, "%s", "Meta copied" );
}
else
...
...
modules/access/vdr.c
View file @
f788fa20
...
...
@@ -324,8 +324,6 @@ static int Control( access_t *p_access, int i_query, va_list args )
return
Seek
(
p_access
,
p_sys
->
offsets
[
i
]
);
case
ACCESS_GET_META
:
if
(
!
p_sys
->
p_meta
)
return
VLC_EGENERIC
;
p_meta
=
va_arg
(
args
,
vlc_meta_t
*
);
vlc_meta_Merge
(
p_meta
,
p_sys
->
p_meta
);
break
;
...
...
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