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

Francois Cartegnie git at videolan.org
Thu Dec 14 14:06:29 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 14 11:39:30 2017 +0100| [71318cd9f06699b32284851508ef41e3bfb69285] | committer: Francois Cartegnie

packetizer: hevc: clear first pic flag in poc

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71318cd9f06699b32284851508ef41e3bfb69285
---

 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