mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +00:00
omxvideodec: Move locking at the correct place
This commit is contained in:
parent
72fa93956b
commit
cf6f14d03c
1 changed files with 1 additions and 1 deletions
|
@ -990,6 +990,7 @@ gst_omx_video_dec_set_format (GstBaseVideoDecoder * decoder,
|
|||
gst_omx_video_dec_stop (GST_BASE_VIDEO_DECODER (self));
|
||||
gst_omx_video_dec_close (self);
|
||||
|
||||
GST_BASE_VIDEO_CODEC_STREAM_LOCK (self);
|
||||
/* FIXME: Workaround for
|
||||
* https://bugzilla.gnome.org/show_bug.cgi?id=654529
|
||||
*/
|
||||
|
@ -998,7 +999,6 @@ gst_omx_video_dec_set_format (GstBaseVideoDecoder * decoder,
|
|||
g_list_free (GST_BASE_VIDEO_CODEC (self)->frames);
|
||||
GST_BASE_VIDEO_CODEC (self)->frames = NULL;
|
||||
|
||||
GST_BASE_VIDEO_CODEC_STREAM_LOCK (self);
|
||||
if (!gst_omx_video_dec_open (self))
|
||||
return FALSE;
|
||||
needs_disable = FALSE;
|
||||
|
|
Loading…
Reference in a new issue