forked from AuroraMiddleware/gtk
Merge branch 'matthiasc/for-master' into 'master'
video: Pause on unset too See merge request GNOME/gtk!3025
This commit is contained in:
commit
384081ce0a
@ -593,6 +593,8 @@ gtk_video_set_media_stream (GtkVideo *self,
|
||||
|
||||
if (self->media_stream)
|
||||
{
|
||||
if (self->autoplay)
|
||||
gtk_media_stream_pause (self->media_stream);
|
||||
g_signal_handlers_disconnect_by_func (self->media_stream,
|
||||
gtk_video_notify_cb,
|
||||
self);
|
||||
|
Loading…
Reference in New Issue
Block a user