audiovisualizer: remove unused value
klass->setup (scope) will always return TRUE since all children of this class do so, no need to store the return. Besides, the value is overwritten a few lines down before it is used. Change helps keep files in sync after: -base commit a91d521a3602f33083405467db9454d422b9da1b
This commit is contained in:
parent
ddb535c35d
commit
25c9757083
@ -759,7 +759,7 @@ gst_audio_visualizer_src_setcaps (GstAudioVisualizer * scope, GstCaps * caps)
|
||||
GST_MAP_READWRITE);
|
||||
|
||||
if (klass->setup)
|
||||
res = klass->setup (scope);
|
||||
klass->setup (scope);
|
||||
|
||||
GST_DEBUG_OBJECT (scope, "video: dimension %dx%d, framerate %d/%d",
|
||||
GST_VIDEO_INFO_WIDTH (&info), GST_VIDEO_INFO_HEIGHT (&info),
|
||||
|
Loading…
x
Reference in New Issue
Block a user