visual: cleanup

Shameful fix to a silly mistake in the previous commit. Above email address for
any mockery
This commit is contained in:
Luis de Bethencourt 2015-01-13 16:58:34 +00:00
parent 1bb169410e
commit 4d6f318fc9

View file

@ -750,7 +750,7 @@ gst_audio_visualizer_src_setcaps (GstAudioVisualizer * scope, GstCaps * caps)
gst_video_frame_map (&scope->tempframe, &scope->vinfo, scope->tempbuf,
GST_MAP_READWRITE);
if (klass->setup && !klass->setup)
if (klass->setup && !klass->setup (scope))
goto setup_failed;
GST_DEBUG_OBJECT (scope, "video: dimension %dx%d, framerate %d/%d",