gstreamer/subprojects/gst-plugins-base/gst
Guillaume Desmottes c0d7d5c2c8 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/2296>
2022-04-26 13:43:56 +00: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 audioconvert: Add dithering-threshold property 2022-02-25 19:32:28 +00: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: fix prepare_frame obscuring check 2022-04-22 17:43:50 +00:00
encoding Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00: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 Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
rawparse rawvideoparse: set format from caps in gst_raw_video_parse_set_config_from_caps 2022-03-27 15:50:07 +00:00
subparse subparse: don't try to index string with -1 2022-04-10 10:57:08 +10:00
tcp Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
typefind typefindfunctions: Fix WebVTT format detection 2022-02-11 13:48:45 +00:00
videoconvertscale videoscale: Don't copy scaled metas 2022-04-22 13:00:01 +00:00
videorate videorate: fix assertion when pushing last and only buffer without duration 2022-04-26 13:43:56 +00:00
videotestsrc Remove glib and gobject dependencies everywhere 2022-04-01 16:32:17 +00:00
volume Remove glib and gobject dependencies everywhere 2022-04-01 16:32:17 +00:00
meson.build Introduce the videocolorscale element 2022-04-20 17:03:21 -04:00