mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
avidemux: don't post an error if EOS can't be pushed downstream.
This aligns avidemux with other demuxers and fixes a bug using avidemux with a recent gnonlin.
This commit is contained in:
parent
39f59ea456
commit
b0c5c7f19b
1 changed files with 1 additions and 6 deletions
|
@ -4175,12 +4175,7 @@ pause:
|
|||
}
|
||||
if (push_eos) {
|
||||
GST_INFO_OBJECT (avi, "sending eos");
|
||||
if (!(gst_avi_demux_push_event (avi, gst_event_new_eos ()))) {
|
||||
/* if we don't error out here it will hang */
|
||||
GST_ELEMENT_ERROR (avi, STREAM, FAILED,
|
||||
(_("Internal data stream error.")),
|
||||
("downstream did not handle EOS"));
|
||||
}
|
||||
gst_avi_demux_push_event (avi, gst_event_new_eos ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue