mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01:00
audio_out / video_out structs should be treated as const
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25793 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ce3b1606ab
commit
fda4dce8a0
@ -2,8 +2,8 @@
|
||||
#define ACCESS_MPCONTEXT_H
|
||||
|
||||
struct MPContext;
|
||||
void *mpctx_get_video_out(struct MPContext *mpctx);
|
||||
void *mpctx_get_audio_out(struct MPContext *mpctx);
|
||||
const void *mpctx_get_video_out(struct MPContext *mpctx);
|
||||
const void *mpctx_get_audio_out(struct MPContext *mpctx);
|
||||
void *mpctx_get_demuxer(struct MPContext *mpctx);
|
||||
void *mpctx_get_playtree_iter(struct MPContext *mpctx);
|
||||
void *mpctx_get_mixer(struct MPContext *mpctx);
|
||||
|
@ -506,7 +506,7 @@ static void remove_vf( char * str )
|
||||
|
||||
int guiGetEvent( int type,char * arg )
|
||||
{
|
||||
ao_functions_t *audio_out = NULL;
|
||||
const ao_functions_t *audio_out = NULL;
|
||||
const vo_functions_t *video_out = NULL;
|
||||
mixer_t *mixer = NULL;
|
||||
|
||||
|
@ -61,8 +61,8 @@ static RECT old_rect;
|
||||
static DWORD style;
|
||||
static HANDLE hThread;
|
||||
static unsigned threadId;
|
||||
ao_functions_t *audio_out = NULL;
|
||||
vo_functions_t *video_out = NULL;
|
||||
const ao_functions_t *audio_out = NULL;
|
||||
const vo_functions_t *video_out = NULL;
|
||||
mixer_t *mixer = NULL;
|
||||
|
||||
/* test for playlist files, no need to specify -playlist on the commandline.
|
||||
|
Loading…
Reference in New Issue
Block a user