Commit 6b99ed65 authored by François Cartegnie's avatar François Cartegnie 🤞

packetizer: h264: clear captions of missing frames

parent 289607e7
......@@ -732,6 +732,7 @@ static block_t *OutputPicture( decoder_t *p_dec )
assert( p_sys->frame.p_head );
DropStoredNAL( p_sys );
ResetOutputVariables( p_sys );
cc_storage_reset( p_sys->p_ccs );
return NULL;
}
......@@ -742,6 +743,7 @@ static block_t *OutputPicture( decoder_t *p_dec )
{
DropStoredNAL( p_sys );
ResetOutputVariables( p_sys );
cc_storage_reset( p_sys->p_ccs );
return NULL;
}
......@@ -826,6 +828,7 @@ static block_t *OutputPicture( decoder_t *p_dec )
if( !p_pic )
{
ResetOutputVariables( p_sys );
cc_storage_reset( p_sys->p_ccs );
return NULL;
}
......
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