forked from enlightenment/efl
emotion: prevent race condition during gstreamer module shutdown or file set.
Patch by Sohyun Kim <anna1014.kim@samsung.com> SVN revision: 74719
This commit is contained in:
parent
951a9d2327
commit
a0970878cc
|
@ -29,6 +29,11 @@
|
|||
2012-07-03 Cedric Bail
|
||||
|
||||
* Track pending object for proper shutdown.
|
||||
2012-06-05 Sohyun Kim
|
||||
|
||||
* Add fimcconvert element to resize and convert color using fimc on device
|
||||
2012-06-05 Sohyun Kim
|
||||
|
||||
* Add fimcconvert element to resize and convert color using fimc on device.
|
||||
|
||||
2012-08-01 Cedric Bail
|
||||
|
||||
* Fix race condition in gstreamer render function.
|
||||
|
|
|
@ -12,7 +12,8 @@ Additions:
|
|||
|
||||
Fixes:
|
||||
- build out of tree.
|
||||
- stride of all YUV video.
|
||||
- stride of all YUV video
|
||||
- fix race condition in gstreamer render function on shutdown and file set.
|
||||
|
||||
Improvements:
|
||||
|
||||
|
|
|
@ -498,6 +498,13 @@ evas_video_sink_samsung_main_render(void *data)
|
|||
buffer = send->frame;
|
||||
preroll = send->preroll;
|
||||
|
||||
/* frame after cleanup */
|
||||
if (!preroll && !send->ev->last_buffer)
|
||||
{
|
||||
priv = NULL;
|
||||
goto exit_point;
|
||||
}
|
||||
|
||||
if (!priv || !priv->o || priv->unlocked)
|
||||
goto exit_point;
|
||||
|
||||
|
@ -630,6 +637,13 @@ evas_video_sink_main_render(void *data)
|
|||
preroll = send->preroll;
|
||||
ev = send->ev;
|
||||
|
||||
/* frame after cleanup */
|
||||
if (!preroll && !ev->last_buffer)
|
||||
{
|
||||
priv = NULL;
|
||||
goto exit_point;
|
||||
}
|
||||
|
||||
if (!priv || !priv->o || priv->unlocked)
|
||||
goto exit_point;
|
||||
|
||||
|
|
Loading…
Reference in New Issue