[vlc-commits] packetizer: hevc: fix AU output timestamp
Francois Cartegnie
git at videolan.org
Tue Apr 4 14:17:29 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Apr 3 16:54:02 2017 +0200| [c2621364cbc2aa7bc28fa03322a0796e27c652bb] | committer: Francois Cartegnie
packetizer: hevc: fix AU output timestamp
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2621364cbc2aa7bc28fa03322a0796e27c652bb
---
modules/packetizer/hevc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/packetizer/hevc.c b/modules/packetizer/hevc.c
index 90ee198..7ceb442 100644
--- a/modules/packetizer/hevc.c
+++ b/modules/packetizer/hevc.c
@@ -122,12 +122,12 @@ static block_t * OutputQueues(decoder_sys_t *p_sys, bool b_valid)
if(p_sys->frame.p_chain)
{
i_flags |= p_sys->frame.p_chain->i_flags;
- if(p_output && p_output->i_dts == 0)
+ block_ChainLastAppend(&pp_output_last, p_sys->frame.p_chain);
+ if(p_output->i_dts == 0)
{
p_output->i_dts = p_sys->frame.p_chain->i_dts;
p_output->i_pts = p_sys->frame.p_chain->i_pts;
}
- block_ChainLastAppend(&pp_output_last, p_sys->frame.p_chain);
INITQ(frame);
}
More information about the vlc-commits
mailing list