Merge branch 'wip/baedert/wat' into 'master'

gtkffmediafile: Fix deprecated API usage

See merge request GNOME/gtk!3716
This commit is contained in:
Matthias Clasen 2021-07-02 17:00:41 +00:00
commit a90f721b74

View File

@ -632,7 +632,7 @@ gtk_ff_media_file_next_frame_cb (gpointer data)
if (!gtk_media_stream_get_loop (GTK_MEDIA_STREAM (video)) ||
!gtk_ff_media_file_restart (video))
{
gtk_media_stream_ended (GTK_MEDIA_STREAM (video));
gtk_media_stream_set_ended (GTK_MEDIA_STREAM (video));
return G_SOURCE_REMOVE;
}
@ -733,7 +733,7 @@ gtk_ff_media_file_seek (GtkMediaStream *stream,
{
gtk_ff_media_file_pause (stream);
if (!gtk_ff_media_file_play (stream))
gtk_media_stream_ended (stream);
gtk_media_stream_set_ended (stream);
}
}