mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
avviddec: Ignore negotiation error on shutdown
https://bugzilla.gnome.org/show_bug.cgi?id=752800
This commit is contained in:
parent
7afaf5c020
commit
6bfe79d903
1 changed files with 4 additions and 0 deletions
|
@ -1378,6 +1378,10 @@ no_output:
|
|||
|
||||
negotiation_error:
|
||||
{
|
||||
if (GST_PAD_IS_FLUSHING (GST_VIDEO_DECODER_SRC_PAD (ffmpegdec))) {
|
||||
*ret = GST_FLOW_FLUSHING;
|
||||
goto beach;
|
||||
}
|
||||
GST_WARNING_OBJECT (ffmpegdec, "Error negotiating format");
|
||||
*ret = GST_FLOW_NOT_NEGOTIATED;
|
||||
goto beach;
|
||||
|
|
Loading…
Reference in a new issue