summaryrefslogtreecommitdiff
path: root/ext/rsvg/gstrsvgdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rsvg/gstrsvgdec.c')
-rw-r--r--ext/rsvg/gstrsvgdec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/rsvg/gstrsvgdec.c b/ext/rsvg/gstrsvgdec.c
index a17c93592..c29b947ca 100644
--- a/ext/rsvg/gstrsvgdec.c
+++ b/ext/rsvg/gstrsvgdec.c
@@ -203,8 +203,7 @@ gst_rsvg_decode_image (GstRsvgDec * rsvg, GstBuffer * buffer,
if (!gst_video_frame_map (&vframe,
- &gst_video_decoder_get_output_state (decoder)->info,
- frame->output_buffer, GST_MAP_READWRITE)) {
+ &output_state->info, frame->output_buffer, GST_MAP_READWRITE)) {
GST_ERROR_OBJECT (rsvg, "Failed to get SVG image");
g_object_unref (handle);
gst_video_codec_state_unref (output_state);