Commit 49364d3a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

transcode: missing const

parent d34d3528
......@@ -317,7 +317,7 @@ int transcode_audio_process( sout_stream_t *p_stream,
return VLC_SUCCESS;
}
bool transcode_audio_add( sout_stream_t *p_stream, es_format_t *p_fmt,
bool transcode_audio_add( sout_stream_t *p_stream, const es_format_t *p_fmt,
sout_stream_id_sys_t *id )
{
sout_stream_sys_t *p_sys = p_stream->p_sys;
......
......@@ -153,7 +153,7 @@ int transcode_osd_process( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
return VLC_EGENERIC;
}
bool transcode_osd_add( sout_stream_t *p_stream, es_format_t *p_fmt,
bool transcode_osd_add( sout_stream_t *p_stream, const es_format_t *p_fmt,
sout_stream_id_sys_t *id)
{
sout_stream_sys_t *p_sys = p_stream->p_sys;
......
......@@ -156,7 +156,7 @@ int transcode_spu_process( sout_stream_t *p_stream,
return VLC_EGENERIC;
}
bool transcode_spu_add( sout_stream_t *p_stream, es_format_t *p_fmt,
bool transcode_spu_add( sout_stream_t *p_stream, const es_format_t *p_fmt,
sout_stream_id_sys_t *id )
{
sout_stream_sys_t *p_sys = p_stream->p_sys;
......
......@@ -116,7 +116,7 @@ int transcode_osd_new( sout_stream_t *p_stream, sout_stream_id_sys_t *id );
void transcode_osd_close( sout_stream_t *p_stream, sout_stream_id_sys_t *id);
int transcode_osd_process( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
block_t *in, block_t **out );
bool transcode_osd_add ( sout_stream_t *, es_format_t *, sout_stream_id_sys_t *);
bool transcode_osd_add( sout_stream_t *, const es_format_t *, sout_stream_id_sys_t *);
/* SPU */
......@@ -124,7 +124,7 @@ int transcode_spu_new ( sout_stream_t *, sout_stream_id_sys_t * );
void transcode_spu_close ( sout_stream_t *, sout_stream_id_sys_t * );
int transcode_spu_process( sout_stream_t *, sout_stream_id_sys_t *,
block_t *, block_t ** );
bool transcode_spu_add ( sout_stream_t *, es_format_t *, sout_stream_id_sys_t *);
bool transcode_spu_add ( sout_stream_t *, const es_format_t *, sout_stream_id_sys_t *);
/* AUDIO */
......@@ -132,7 +132,7 @@ int transcode_audio_new ( sout_stream_t *, sout_stream_id_sys_t * );
void transcode_audio_close ( sout_stream_id_sys_t * );
int transcode_audio_process( sout_stream_t *, sout_stream_id_sys_t *,
block_t *, block_t ** );
bool transcode_audio_add ( sout_stream_t *, es_format_t *,
bool transcode_audio_add ( sout_stream_t *, const es_format_t *,
sout_stream_id_sys_t *);
/* VIDEO */
......@@ -141,5 +141,5 @@ int transcode_video_new ( sout_stream_t *, sout_stream_id_sys_t * );
void transcode_video_close ( sout_stream_t *, sout_stream_id_sys_t * );
int transcode_video_process( sout_stream_t *, sout_stream_id_sys_t *,
block_t *, block_t ** );
bool transcode_video_add ( sout_stream_t *, es_format_t *,
bool transcode_video_add ( sout_stream_t *, const es_format_t *,
sout_stream_id_sys_t *);
......@@ -815,7 +815,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_sys_t *id,
return VLC_SUCCESS;
}
bool transcode_video_add( sout_stream_t *p_stream, es_format_t *p_fmt,
bool transcode_video_add( sout_stream_t *p_stream, const es_format_t *p_fmt,
sout_stream_id_sys_t *id )
{
sout_stream_sys_t *p_sys = p_stream->p_sys;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment