Commit 43ff738b authored by Laurent Aimar's avatar Laurent Aimar

Added QTYPE_NONE to easily detect if qp are present (vout).

parent 016c159e
......@@ -266,6 +266,8 @@ enum
/* Quantification type */
enum
{
QTYPE_NONE,
QTYPE_MPEG1,
QTYPE_MPEG2,
QTYPE_H264,
......
......@@ -710,9 +710,9 @@ int __vout_InitPicture( vlc_object_t *p_this, picture_t *p_pic,
p_pic->pf_unlock = NULL;
p_pic->i_refcount = 0;
p_pic->p_q = NULL;
p_pic->i_qtype = QTYPE_NONE;
p_pic->i_qstride = 0;
p_pic->i_qtype = 0;
p_pic->p_q = NULL;
vout_InitFormat( &p_pic->format, i_chroma, i_width, i_height, i_aspect );
......
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