GNOME Bugzilla – Bug 775228
x264enc: Auto-detect interlace mode from caps
Last modified: 2016-11-28 13:24:14 UTC
If the caps are interlaced, interlacing is always enabled on the encoder. If the interlace-mode field is missing or if it's progressive, the encoder uses the "interlaced" property.
Created attachment 340901 [details] [review] 0001-x264enc-Auto-detect-interlace-mode-from-caps.patch
commit f7d82312bba13806f32d8de56a3d66575bfb08c7 Author: Vivia Nikolaidou <vivia@ahiru.eu> Date: Mon Nov 28 15:14:18 2016 +0200 x264enc: Auto-detect interlace mode from caps If the caps are interlaced, interlacing is always enabled on the encoder. If the interlace-mode field is missing or if it's progressive, the encoder uses the "interlaced" property. https://bugzilla.gnome.org/show_bug.cgi?id=775228
Review of attachment 340901 [details] [review]: ::: ext/x264/gstx264enc.c @@ -2711,3 @@ encoder->interlaced = g_value_get_boolean (value); - g_string_append_printf (encoder->option_string, ":interlaced=%d", - encoder->interlaced); I think all these should be moved from set_property() to init_encoder()