mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-03 04:52:28 +00:00
videoencoder: unused value
Value set in ret is immediately overwritten in the next line outside of the if block. Run reset but don't store return. CID #1226470
This commit is contained in:
parent
8296cdbfd5
commit
fedc1dba1a
1 changed files with 1 additions and 1 deletions
|
@ -628,7 +628,7 @@ gst_video_encoder_setcaps (GstVideoEncoder * encoder, GstCaps * caps)
|
|||
|
||||
if (encoder_class->reset) {
|
||||
GST_FIXME_OBJECT (encoder, "GstVideoEncoder::reset() is deprecated");
|
||||
ret = encoder_class->reset (encoder, TRUE);
|
||||
encoder_class->reset (encoder, TRUE);
|
||||
}
|
||||
|
||||
/* and subclass should be ready to configure format at any time around */
|
||||
|
|
Loading…
Reference in a new issue