Skip to content
Snippets Groups Projects
Commit 9b590f6e authored by François Cartegnie's avatar François Cartegnie :fingers_crossed: Committed by Hugo Beauzée-Luyssen
Browse files

access: srt: use define for variables


(cherry picked from commit 17957970)

Signed-off-by: default avatarSteve Lhomme <robux4@ycbcr.xyz>
parent b3973675
No related branches found
No related tags found
No related merge requests found
......@@ -220,8 +220,8 @@ out:
static block_t *BlockSRT(stream_t *p_stream, bool *restrict eof)
{
stream_sys_t *p_sys = p_stream->p_sys;
int i_chunk_size = var_InheritInteger( p_stream, "chunk-size" );
int i_poll_timeout = var_InheritInteger( p_stream, "poll-timeout" );
int i_chunk_size = var_InheritInteger( p_stream, SRT_PARAM_CHUNK_SIZE );
int i_poll_timeout = var_InheritInteger( p_stream, SRT_PARAM_POLL_TIMEOUT );
/* SRT doesn't have a concept of EOF for live streams. */
VLC_UNUSED(eof);
......
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