diff options
author | Timm Bäder <mail@baedert.org> | 2021-07-02 18:41:55 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2021-07-02 18:41:55 +0200 |
commit | 106417ada782df7cfd97f62e0947bb34c293606e (patch) | |
tree | 948a7285848e5b55a4b59a0ff0ab22c8d26ba6f7 /modules | |
parent | 3e63e683a9054d12fe05eb19d2d7dcaee467f08b (diff) | |
download | gtk+-106417ada782df7cfd97f62e0947bb34c293606e.tar.gz |
gtkffmediafile: Fix deprecated API usage
Diffstat (limited to 'modules')
-rw-r--r-- | modules/media/gtkffmediafile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/media/gtkffmediafile.c b/modules/media/gtkffmediafile.c index b6b703db87..4964b58886 100644 --- a/modules/media/gtkffmediafile.c +++ b/modules/media/gtkffmediafile.c @@ -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); } } |