gstreamer/subprojects/gst-plugins-bad/gst
Théo Maillart a1c92c0cb1 mpegvideoparse: do not set delta unit flag on unknown frame type
When encoding an image to mpeg2 video, with something like:
  gst-launch-1.0 encodebin name=e profile=mpegpsmux:video/mpeg,mpegversion=2,systemstream=false ! \
                 filesink location=sample.mpg filesrc num-buffers=1 blocksize=$(stat -c%s sample.png) \
                 location=sample/dts.png ! pngdec ! e.
The only frame's type is set to an invalid value 0
The consequence is that mpegvideoparse sets the delta unit flag on the buffer because
it is not an I frame, then decodebin3 drops this only frame because the delta
unit flag is set and the decoder receives eos before it was able to receive any
encoded data

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7832>
2024-11-12 09:13:10 +00:00
..
accurip meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
adpcmdec meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
adpcmenc meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
aiff meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
asfmux asfmux: fix potentially unaligned write on 32-bit ARM 2023-06-14 04:59:05 +00:00
audiobuffersplit Revert "audiobuffersplit: Update out_segment even without discont" 2024-02-15 15:37:11 +00:00
audiofxbad meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
audiolatency audiolatency: Fix event refcounting bug handling latency events 2023-08-06 08:00:56 +00:00
audiomixmatrix meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
audiovisualizers meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
autoconvert baseautoconvert: correct mistake in printing log 2024-08-08 15:19:50 +00:00
bayer bayer2rgb: Support video/x-bayer 10/12/14/16 bit depths 2023-06-15 08:26:12 +00:00
camerabin2 camerabin: Correctly relink viewfinderbin_queue 2023-12-18 17:07:31 +00:00
codecalpha alphadecodebin: Explicitly pass 64 bit integers as such through varargs 2024-03-27 17:05:33 +00:00
codectimestamper codectimestamper: Fix gint wraparound in pts_compare_func 2024-10-25 01:49:10 +00:00
coloreffects meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
debugutils debugutils: videocodectestsink: support GRAY8 and GRAY10_LE{16,32} 2024-10-25 05:53:22 +00:00
dvbsubenc dvbsubenc: fixed some memory leaks and a crash 2024-04-17 11:37:49 +00:00
dvbsuboverlay video-filters: Fix passthrough with ANY caps feature 2023-10-03 21:13:00 +00:00
dvdspu dvdspu: use multiple minimal sized PGS overlay rectangles 2024-05-13 08:37:51 +00:00
faceoverlay meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
festival meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
fieldanalysis gst-plugins-bad: re-indent with GNU indent 2.2.12 2023-03-17 03:18:54 +00:00
freeverb meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
frei0r meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
gaudieffects gstgaussblur: delete unused code 2023-12-04 18:54:31 +00:00
gdp meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
geometrictransform meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
id3tag gst-plugins-bad: re-indent with GNU indent 2.2.12 2023-03-17 03:18:54 +00:00
insertbin insertbin/doc: add "Since" markers to pass CI 2023-11-17 01:09:49 +01:00
inter kate: remove plugin 2023-10-27 07:34:39 +00:00
interlace common: Use more efficient versions of GstCapsFeatures API where possible 2024-09-26 19:26:18 +03:00
ivfparse meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
ivtc meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
jp2kdecimator gst-plugins-bad: re-indent with GNU indent 2.2.12 2023-03-17 03:18:54 +00:00
jpegformat jpegparse: fix incorrect reading of transform in app14 marker 2024-08-15 13:33:47 +00:00
librfb meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
midi midiparse: drop use of GSlice allocator 2023-02-03 17:48:10 +00:00
mpegdemux mpegpsdemux: Rework gap sending 2023-04-06 01:34:03 +00:00
mpegpsmux gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
mpegtsdemux tsdemux: validate frat before setting framerate in caps 2024-11-06 14:48:51 +00:00
mpegtsmux mpegtsmux: Add support for SMPTE 302M (audio/x-smpte-302m) 2024-11-06 11:16:14 +00:00
mse bad: Added W3C Media Source Extensions library 2023-11-19 13:48:43 +00:00
mxf mxftypes: Add support for a few additional fields 2024-10-09 21:34:06 +00:00
netsim netsim: drop use of GSlice 2023-01-24 15:25:07 +00:00
onvif rtponviftimestamp: make sure to set E and T bits on last buffer of lists 2024-03-07 14:02:33 +00:00
pcapparse pcapparse: Avoid unaligned memory access 2024-06-14 10:32:54 -05:00
pnm meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
proxy proxysink: Post EOS message on EOS event 2022-12-08 14:51:56 +00:00
rawparse meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
removesilence doc: Fix newline char between authors 2023-05-20 05:48:23 +00:00
rist ristsrc: Clean caps instead of unref 2024-03-23 10:31:57 +01:00
rtmp2 rtmp2sink: Initialize base_ts / last_ts with the actual first observed timestamp 2024-10-29 17:27:42 +00:00
rtp rtpsrc: Give better names to internal elements 2023-04-28 16:00:47 +00:00
sdp sdpdemux: Add SDP message (aka session) attributes to the caps too 2024-02-09 14:54:29 +00:00
segmentclip meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
siren meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
smooth meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
speed meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
subenc meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
switchbin switchbin: Rework gst_switch_bin_get_allowed_caps() to limit path lock 2024-02-08 18:33:29 +00:00
tensordecoders tensormeta: Add APIs to create and access GstTensorMeta contents 2024-11-08 14:58:49 +00:00
timecode timecodestamper: Don't fail the latency query in LTC mode if we have no framerate 2024-11-06 12:52:22 +00:00
transcode transcodebin: Fixes for upstream selectable support 2023-08-02 17:12:48 +00:00
unixfd unixfd: Fix racy unit test by adding wait-for-connection property 2024-10-29 12:12:26 +00:00
videofilters scenechange: fix memory leak 2024-10-15 04:20:01 +00:00
videoframe_audiolevel meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
videoparsers mpegvideoparse: do not set delta unit flag on unknown frame type 2024-11-12 09:13:10 +00:00
videosignal meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
vmnc meson: Call pkgconfig.generate in the loop where we declare plugins dependencies 2022-09-01 21:17:35 +00:00
y4m y4mdec: Fix some debug log categories 2024-02-06 12:42:54 +00:00
meson.build tensordecoders: Move decoder out of the ONNX plugin 2024-11-08 14:58:49 +00:00