mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
avauddec: Don't believe we're negotiated if negotiation failed
It can happen that negotiation fails during get_buffer(), but then we don't retry later and never return NOT_NEGOTIATED upstream... and instead run into assertions. https://bugzilla.gnome.org/show_bug.cgi?id=708769
This commit is contained in:
parent
9becd72b60
commit
9febec71c0
1 changed files with 1 additions and 0 deletions
|
@ -441,6 +441,7 @@ caps_failed:
|
||||||
GST_ELEMENT_ERROR (ffmpegdec, CORE, NEGOTIATION, (NULL),
|
GST_ELEMENT_ERROR (ffmpegdec, CORE, NEGOTIATION, (NULL),
|
||||||
("Could not set caps for libav decoder (%s), not fixed?",
|
("Could not set caps for libav decoder (%s), not fixed?",
|
||||||
oclass->in_plugin->name));
|
oclass->in_plugin->name));
|
||||||
|
memset (&ffmpegdec->info, 0, sizeof (ffmpegdec->info));
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue