gstreamer/subprojects/gst-plugins-base/gst
Guillaume Desmottes 69b205613f videorate: fix assertion when pushing last and only buffer without duration
Fixing this pipeline:
  gst-launch-1.0 filesrc location=sample.png ! pngdec ! videorate ! fakesink

- videorate receives a single buffer with pts = 0, duration = invalid;
- then it receives eos triggering this buffer to be pushed downstream;
- the pushing code was assuming that a duration was set, which is
  impossible as we received a single buffer and no output framerate was
  set either. So the best we can do is to push the buffer without
  duration.

Fix #1177

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2320>
2022-04-28 11:16:40 +01:00
..
adder Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
app Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audioconvert Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audiomixer Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audiorate Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audioresample audio: Add logging that was useful in figuring out the last commit 2022-01-08 05:15:30 +00:00
audiotestsrc audiotestsrc: Produce a default channel mask if possible 2022-01-24 14:05:50 +00:00
compositor compositor: Always draw if all input buffers are GAP 2022-01-13 21:29:15 +00:00
encoding smartencoder: Force reencoding of vp9 for profiles can't support 2021-10-18 10:11:08 -03:00
gio Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
overlaycomposition Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
pbtypes Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
playback playbin3: Remove stale code 2022-04-19 13:28:38 +01:00
rawparse rawvideoparse: set format from caps in gst_raw_video_parse_set_config_from_caps 2022-03-29 11:25:07 +01:00
subparse subparse: don't try to index string with -1 2022-04-10 09:57:08 +01:00
tcp tcp: fix build on Solaris 2021-11-19 00:07:42 +00:00
typefind typefindfunctions: Fix WebVTT format detection 2022-02-15 16:37:59 +00:00
videoconvert Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
videorate videorate: fix assertion when pushing last and only buffer without duration 2022-04-28 11:16:40 +01:00
videoscale Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
videotestsrc Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
volume Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00