Use a recursive mutex so that a single thread can lock
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Mon, 26 Apr 2010 08:40:27 +0000 (08:40 +0000)
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Mon, 20 Sep 2010 10:55:32 +0000 (12:55 +0200)
commitda3948bdebf3b9eceb0df6a6b16a08f20f10f186
treebfd97c3e64729399356a28f09d7ca89abe086fe0
parentedef951fb2866f2b846297505c1fd19edfa750d8
Use a recursive mutex so that a single thread can lock
several times. This fixes decoding of MPEG-2 and H.264
because those created a GstVaapiContext later through
avcodec_decode_video() that was a protected call.
gst-libs/gst/vaapi/gstvaapidisplay.c
gst-libs/gst/vaapi/gstvaapidisplay_priv.h