summaryrefslogtreecommitdiff
path: root/src/totem-gallery-thumbnailer.c
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-03-07 12:16:08 +0100
committerBastien Nocera <hadess@hadess.net>2022-03-09 17:49:33 +0100
commit02a3856b3d9812f87b67e7bfba439d5db0254efb (patch)
treeccec35bbab28b3dc3b930563a29b6dede4ce38df /src/totem-gallery-thumbnailer.c
parent307ce47e7d7eb331c1a647a743ce0744c69f42cf (diff)
downloadtotem-02a3856b3d9812f87b67e7bfba439d5db0254efb.tar.gz
gst: Add error-reporting to screenshot helper
Make totem_gst_playbin_get_frame() report (untranslated) errors back up to the caller.
Diffstat (limited to 'src/totem-gallery-thumbnailer.c')
-rw-r--r--src/totem-gallery-thumbnailer.c2
1 files changed, 1 insertions, 1 deletions
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 *