Commit a412c980 authored by Laurent Aimar's avatar Laurent Aimar

Set picture_t::i_nb_fields to 2 by default.

parent 3586bd91
......@@ -107,7 +107,7 @@ void picture_Reset( picture_t *p_picture )
p_picture->date = VLC_TS_INVALID;
p_picture->b_force = false;
p_picture->b_progressive = false;
p_picture->i_nb_fields = 0;
p_picture->i_nb_fields = 2;
p_picture->b_top_field_first = false;
picture_CleanupQuant( p_picture );
}
......@@ -136,6 +136,8 @@ int picture_Setup( picture_t *p_picture, vlc_fourcc_t i_chroma,
p_picture->p_release_sys = NULL;
p_picture->i_refcount = 0;
p_picture->i_nb_fields = 2;
p_picture->i_qtype = QTYPE_NONE;
p_picture->i_qstride = 0;
p_picture->p_q = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment