[vlc-commits] packetizer: hevc: use global interlaced content tagging
Francois Cartegnie
git at videolan.org
Sat Sep 30 20:50:37 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep 29 19:51:19 2017 +0200| [0863f4ee43c41036b55b21be806b8a6fb9f959e2] | committer: Francois Cartegnie
packetizer: hevc: use global interlaced content tagging
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0863f4ee43c41036b55b21be806b8a6fb9f959e2
---
modules/packetizer/hevc_nal.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/packetizer/hevc_nal.c b/modules/packetizer/hevc_nal.c
index 07f366f904..07f9d0fcfd 100644
--- a/modules/packetizer/hevc_nal.c
+++ b/modules/packetizer/hevc_nal.c
@@ -1344,6 +1344,11 @@ uint8_t hevc_get_num_clock_ts( const hevc_sequence_parameter_set_t *p_sps,
if( p_sps->vui.field_seq_flag )
return 1; /* D.3.27 */
}
+ else if( p_sps->profile_tier_level.general.interlaced_source_flag &&
+ !p_sps->profile_tier_level.general.progressive_source_flag )
+ {
+ return 1;
+ }
return 2;
}
More information about the vlc-commits
mailing list