From 02a3856b3d9812f87b67e7bfba439d5db0254efb Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 7 Mar 2022 12:16:08 +0100 Subject: gst: Add error-reporting to screenshot helper Make totem_gst_playbin_get_frame() report (untranslated) errors back up to the caller. --- src/totem-gallery-thumbnailer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/totem-gallery-thumbnailer.c') diff --git a/src/totem-gallery-thumbnailer.c b/src/totem-gallery-thumbnailer.c index d066d1301..d893de908 100644 --- a/src/totem-gallery-thumbnailer.c +++ b/src/totem-gallery-thumbnailer.c @@ -452,7 +452,7 @@ capture_frame_at_time (ThumbApp *app, if (milliseconds != 0) thumb_app_seek (app, milliseconds); - return totem_gst_playbin_get_frame (app->play); + return totem_gst_playbin_get_frame (app->play, NULL); } static GdkPixbuf * -- cgit v1.2.1