mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
ef37446460
Before this change decoder used the oldest frame in the list to pair it with the decoded surface. This only works when there's a perfect stream like HEADERS,SYNCPOINT,DELTA... When playing RTSP streams we can get imperfect streams like HEADERS, DELTA,SYNCPOINT,DELTA... In this case decoder drops the frames between HEADERS and SYNCPOINT which leads into using wrong PTS on the output frames. With this change we inject the input PTS into the bitstream and use it to align the internal frame list with the actually decoded position. Fixes playback with: ``` gst-launch-1.0 rtspsrc location=... latency=0 drop-on-latency=1 ! ... ``` |
||
---|---|---|
.. | ||
androidmedia | ||
applemedia | ||
bluez | ||
d3d11 | ||
d3dvideosink | ||
decklink | ||
directsound | ||
dshowdecwrapper | ||
dshowsrcwrapper | ||
dshowvideosink | ||
dvb | ||
fbdev | ||
ipcpipeline | ||
kms | ||
magicleap | ||
msdk | ||
nvcodec | ||
opensles | ||
shm | ||
tinyalsa | ||
uvch264 | ||
wasapi | ||
winks | ||
winscreencap | ||
meson.build |