summaryrefslogtreecommitdiff
path: root/src/backend
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/backend
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/backend')
-rw-r--r--src/backend/bacon-video-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 296aae16f..eb518944e 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -5368,7 +5368,7 @@ bacon_video_widget_get_current_frame (BaconVideoWidget * bvw)
return NULL;
}
- return totem_gst_playbin_get_frame (bvw->play);
+ return totem_gst_playbin_get_frame (bvw->play, NULL);
}
/* =========================================== */