Commit 7a8e2cb2 authored by Jean-Paul Saman's avatar Jean-Paul Saman

vout_picture: set picture type to MEMORY_PICTURE

parent 288f6784
...@@ -1026,7 +1026,7 @@ picture_t *picture_New( vlc_fourcc_t i_chroma, int i_width, int i_height, int i_ ...@@ -1026,7 +1026,7 @@ picture_t *picture_New( vlc_fourcc_t i_chroma, int i_width, int i_height, int i_
free( p_picture ); free( p_picture );
return NULL; return NULL;
} }
p_picture->i_type = MEMORY_PICTURE;
p_picture->i_refcount = 1; p_picture->i_refcount = 1;
p_picture->pf_release = PictureReleaseCallback; p_picture->pf_release = PictureReleaseCallback;
p_picture->i_status = RESERVED_PICTURE; p_picture->i_status = RESERVED_PICTURE;
......
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