mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
osxvideosink: reset app_started to FALSE when shutting down
This commit is contained in:
parent
645b37e80a
commit
e3cba62b7e
1 changed files with 3 additions and 0 deletions
|
@ -317,6 +317,9 @@ gst_osx_video_sink_change_state (GstElement * element,
|
|||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
GST_VIDEO_SINK_WIDTH (osxvideosink) = 0;
|
||||
GST_VIDEO_SINK_HEIGHT (osxvideosink) = 0;
|
||||
#ifndef RUN_NS_APP_THREAD
|
||||
osxvideosink->app_started = FALSE;
|
||||
#endif
|
||||
gst_osx_video_sink_osxwindow_destroy (osxvideosink);
|
||||
break;
|
||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||
|
|
Loading…
Reference in a new issue