[vlc-commits] packetizer: hevc: clear first pic flag in poc

Francois Cartegnie git at videolan.org
Thu Dec 14 14:08:48 CET 2017


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 14 11:39:30 2017 +0100| [08db1966be32f278e50df69d490fda4680d79164] | committer: Francois Cartegnie

packetizer: hevc: clear first pic flag in poc

(cherry picked from commit 71318cd9f06699b32284851508ef41e3bfb69285)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=08db1966be32f278e50df69d490fda4680d79164
---

 modules/packetizer/hevc_nal.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/packetizer/hevc_nal.c b/modules/packetizer/hevc_nal.c
index d6bf59f1db..cb571b4c87 100644
--- a/modules/packetizer/hevc_nal.c
+++ b/modules/packetizer/hevc_nal.c
@@ -1514,6 +1514,7 @@ int hevc_compute_picture_order_count( const hevc_sequence_parameter_set_t *p_sps
 
     p_ctx->prevPicOrderCnt.msb = pocMSB;
     p_ctx->prevPicOrderCnt.lsb = p_slice->pic_order_cnt_lsb;
+    p_ctx->first_picture = false;
 
     return pocMSB + p_slice->pic_order_cnt_lsb;
 }



More information about the vlc-commits mailing list