Skip to content
Snippets Groups Projects
Commit 41600043 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Felix Paul Kühne
Browse files

transcode: remove unused transcode_dequeue_all_pics

Pictures are now pushed towards the encoder directly and not queued for
encoding.
parent d8c883e2
No related branches found
No related tags found
1 merge request!962transcode: refactor to fix decoder/filter/encoder issues after push model and integrate tests
......@@ -275,16 +275,6 @@ static void decoder_queue_video( decoder_t *p_dec, picture_t *p_pic )
vlc_fifo_Unlock( id->output_fifo );
}
static vlc_picture_chain_t transcode_dequeue_all_pics( sout_stream_id_sys_t *id )
{
vlc_picture_chain_t p_pics;
vlc_mutex_lock(&id->fifo.lock);
vlc_picture_chain_GetAndClear(&id->fifo.pic, &p_pics);
vlc_mutex_unlock(&id->fifo.lock);
return p_pics;
}
int transcode_video_init( sout_stream_t *p_stream, const es_format_t *p_fmt,
sout_stream_id_sys_t *id )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment