projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9837c9d
)
fix deadlock when thread itself goes PLAYING => PAUSED => PLAYING
author
Benjamin Otte
<otte@gnome.org>
Mon, 28 Apr 2003 00:01:31 +0000
(
00:01
+0000)
committer
Benjamin Otte
<otte@gnome.org>
Mon, 28 Apr 2003 00:01:31 +0000
(
00:01
+0000)
Original commit message from CVS:
fix deadlock when thread itself goes PLAYING => PAUSED => PLAYING
gst/gstthread.c
patch
|
blob
|
history
diff --git
a/gst/gstthread.c
b/gst/gstthread.c
index 74e4be6c90429f4d46e4ba7462642e8b3c0c8da6..b06f3bcf450bf037a124f6bea56ccc765b72bc3c 100644
(file)
--- a/
gst/gstthread.c
+++ b/
gst/gstthread.c
@@
-424,6
+424,9
@@
gst_thread_change_state (GstElement *element)
gst_element_enable_threadsafe_properties ((GstElement*)elements->data);
elements = g_list_next (elements);
}
+ /* reset self to spinning */
+ if (thread == gst_thread_get_current())
+ GST_FLAG_SET (thread, GST_THREAD_STATE_SPINNING);
break;
}
case GST_STATE_PLAYING_TO_PAUSED: