[vlc-commits] packetizer: h264: allow change in color space
Francois Cartegnie
git at videolan.org
Thu Mar 30 15:33:02 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Mar 30 15:22:23 2017 +0200| [e693c2aede49242ecfdbcb45564b473811dc2f0e] | committer: Francois Cartegnie
packetizer: h264: allow change in color space
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e693c2aede49242ecfdbcb45564b473811dc2f0e
---
modules/packetizer/h264.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packetizer/h264.c b/modules/packetizer/h264.c
index abcbebd..9e78d12 100644
--- a/modules/packetizer/h264.c
+++ b/modules/packetizer/h264.c
@@ -220,7 +220,7 @@ static void ActivateSets( decoder_t *p_dec, const h264_sequence_parameter_set_t
date_Change( &p_sys->dts, p_sps->vui.i_time_scale, p_sps->vui.i_num_units_in_tick );
}
}
- if( p_dec->fmt_out.video.primaries == COLOR_PRIMARIES_UNDEF )
+ if( p_dec->fmt_in.video.primaries == COLOR_PRIMARIES_UNDEF )
{
p_dec->fmt_out.video.primaries =
hxxx_colour_primaries_to_vlc( p_sps->vui.colour.i_colour_primaries );
More information about the vlc-commits
mailing list