Revert "audiovisualizer: remove unused value"

This reverts commit 25c9757083.

It is preferable to handle the retun of the setup function.
This commit is contained in:
Luis de Bethencourt 2015-01-13 16:46:10 +00:00
parent d2e309d341
commit fc56b0742c

View file

@ -759,7 +759,7 @@ gst_audio_visualizer_src_setcaps (GstAudioVisualizer * scope, GstCaps * caps)
GST_MAP_READWRITE);
if (klass->setup)
klass->setup (scope);
res = klass->setup (scope);
GST_DEBUG_OBJECT (scope, "video: dimension %dx%d, framerate %d/%d",
GST_VIDEO_INFO_WIDTH (&info), GST_VIDEO_INFO_HEIGHT (&info),