mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
[190/906] force calling glimagesink->stop() when going from PAUSED to READY
This commit is contained in:
parent
f8f81eae40
commit
b770c7cd04
1 changed files with 1 additions and 0 deletions
|
@ -277,6 +277,7 @@ gst_glimage_sink_change_state (GstElement* element, GstStateChange transition)
|
|||
case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
gst_glimage_sink_stop (GST_BASE_SINK (glimage_sink));
|
||||
glimage_sink->fps_n = 0;
|
||||
glimage_sink->fps_d = 1;
|
||||
GST_VIDEO_SINK_WIDTH (glimage_sink) = 0;
|
||||
|
|
Loading…
Reference in a new issue