[vlc-commits] packetizer: h264: clear captions of missing frames
Francois Cartegnie
git at videolan.org
Thu Nov 9 11:11:30 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov 8 18:10:47 2017 +0100| [6b99ed650532d1ee440f03aff61c071bec28d1b5] | committer: Francois Cartegnie
packetizer: h264: clear captions of missing frames
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6b99ed650532d1ee440f03aff61c071bec28d1b5
---
modules/packetizer/h264.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c
index ecb233dda9..df13711550 100644
--- a/modules/packetizer/h264.c
+++ b/modules/packetizer/h264.c
@@ -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;
}
More information about the vlc-commits
mailing list