1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/libavdevice
Marton Balint b2d0826513 avdevice/pulse_audio_dec: do not read undersized frames
Keep on reading fragments until we got fragment_size amount of data, otherwise
we might get frames with 1-2 samples only if pa_stream_peek is called slightly
less frequently than sample rate.

Note that fragments might contain a lot less data than fragment_size, so
reading multiple fragments to get fragment_size amount of data is intentional.

Signed-off-by: Marton Balint <cus@passwd.hu>
2021-03-12 23:55:30 +01:00
..
tests Merge commit '93fed46a92bab8be176d3e67be4354189a8dbe7f' 2017-03-19 16:08:27 +01:00
.gitignore lavfi,lavd: add gitignore for generated static component lists 2018-04-05 22:08:53 +01:00
alldevices.c avdevice/alldevices: stop using deprecated linked list API 2020-10-19 11:54:45 -03:00
alsa_dec.c avdevice/alsa_dec: make sure we have enough data in non-blocking mode 2021-03-12 23:55:30 +01:00
alsa_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
alsa.c avdevice/alsa_dec: make sure we have enough data in non-blocking mode 2021-03-12 23:55:30 +01:00
alsa.h avdevice/alsa_dec: make sure we have enough data in non-blocking mode 2021-03-12 23:55:30 +01:00
android_camera.c avdevice/android_camera: Fix AVClass.version 2018-04-19 23:44:33 +02:00
audiotoolbox.m lavdevice: Add AudioToolbox output device. 2020-06-15 15:09:33 +02:00
avdevice.c avdevice/avdevice: Deprecate AVDevice Capabilities API 2021-02-14 21:07:57 +01:00
avdevice.h avdevice/avdevice: Deprecate AVDevice Capabilities API 2021-02-14 21:07:57 +01:00
avdeviceres.rc
avfoundation.m avfoundation: Fix building on iOS 2020-04-30 14:21:47 +02:00
bktr.c avdevice: use av_gettime_relative() for elapsed time calculations 2021-02-27 21:41:50 +01:00
caca.c lavd/caca: do not access deprecated codec context 2020-12-10 09:45:19 +01:00
decklink_common_c.h avdevice/decklink_dec: add support for querying RP188 High Frame Rate timecode 2020-09-13 18:06:54 +02:00
decklink_common.cpp avdevice/decklink: warn about too old decklink API version 2020-12-03 18:32:57 +01:00
decklink_common.h avdevice/decklink_enc: simplify usage of buffercount type 2020-12-03 18:32:57 +01:00
decklink_dec_c.c avdevice/decklink: remove the duplicated warning message 2020-12-05 09:00:53 +08:00
decklink_dec.cpp avdevice/decklink: add missing include for buffer_size_t 2021-03-11 17:39:09 -03:00
decklink_dec.h libavdevice/decklink: add support for -sources and -sinks arguments 2017-10-10 20:07:25 +02:00
decklink_enc_c.c avdevice/decklink: remove the duplicated warning message 2020-12-05 09:00:53 +08:00
decklink_enc.cpp avdevice/decklink: add missing include for buffer_size_t 2021-03-11 17:39:09 -03:00
decklink_enc.h libavdevice/decklink: add support for -sources and -sinks arguments 2017-10-10 20:07:25 +02:00
dshow_capture.h avdevice/dshow: Add namespace prefix to the remaining global symbols 2021-01-25 19:31:11 -03:00
dshow_common.c
dshow_crossbar.c lavd/dshow: Add namespace prefix to global functions 2021-01-21 20:02:23 -03:00
dshow_enummediatypes.c avdevice/dshow: Add namespace prefix to the remaining global symbols 2021-01-25 19:31:11 -03:00
dshow_enumpins.c avdevice/dshow: Add namespace prefix to the remaining global symbols 2021-01-25 19:31:11 -03:00
dshow_filter.c avdevice/dshow: Add namespace prefix to the remaining global symbols 2021-01-25 19:31:11 -03:00
dshow_pin.c avdevice/dshow: Add namespace prefix to the remaining global symbols 2021-01-25 19:31:11 -03:00
dshow.c avdevice/dshow: Add namespace prefix to the remaining global symbols 2021-01-25 19:31:11 -03:00
fbdev_common.c
fbdev_common.h
fbdev_dec.c avdevice: use av_gettime_relative() for elapsed time calculations 2021-02-27 21:41:50 +01:00
fbdev_enc.c avdevice: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
file_open.c
gdigrab.c avdevice: use av_gettime_relative() for elapsed time calculations 2021-02-27 21:41:50 +01:00
iec61883.c lavd/iec61883: Fix the include path for poll.h. 2019-01-16 00:13:49 +01:00
internal.h
jack.c avdevice: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
kmsgrab.c avdevice: use av_gettime_relative() for elapsed time calculations 2021-02-27 21:41:50 +01:00
lavfi.c Remove double ';' 2021-03-01 06:10:44 +01:00
libavdevice.v
libcdio.c avdevice: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
libdc1394.c lavd/libdc1394: Do not crash if dc1394_camera_new() fails. 2017-08-18 19:20:15 +02:00
Makefile lavdevice: Add AudioToolbox output device. 2020-06-15 15:09:33 +02:00
openal-dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
opengl_enc_shaders.h
opengl_enc.c avdevice/opengl: add support of wrapped avframe codec 2020-04-16 23:52:12 +02:00
oss_dec.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
oss_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
oss.c Merge commit 'b586903ae1b89e2d8b99c79f33cabe9b3ca03784' 2017-11-11 16:19:50 -03:00
oss.h
pulse_audio_common.c
pulse_audio_common.h
pulse_audio_dec.c avdevice/pulse_audio_dec: do not read undersized frames 2021-03-12 23:55:30 +01:00
pulse_audio_enc.c libavdevice: Update the class name as uniform style 2019-08-15 09:29:55 +08:00
reverse.c avdevice: make ff_reverse available on shared builds 2017-07-20 00:33:29 -03:00
sdl2.c avdevice/sdl2: add option to set window position 2018-10-23 19:42:32 +02:00
sndio_dec.c avdevice: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
sndio_enc.c avdevice: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
sndio.c
sndio.h
timefilter.c
timefilter.h avdevice/timefilter: remove obsolete comments from the docs 2021-02-27 21:30:41 +01:00
utils.c
v4l2-common.c lavd/v4l2-common: Add an entry for Z16. 2019-03-22 12:30:47 +01:00
v4l2-common.h Merge commit '3a165c187da7d74f46f6c1778294e8c5a3a7151f' 2017-03-22 17:55:18 +01:00
v4l2.c avdevice/v4l2: Remove av_assert0 when format not supported 2019-11-06 20:38:03 +01:00
v4l2enc.c avdevice/v4l2enc: Allow writing non-rawvideos to v4l2. 2020-05-09 15:44:43 +01:00
version.h avdevice/avdevice: Deprecate AVDevice Capabilities API 2021-02-14 21:07:57 +01:00
vfwcap.c lavd/vfwcap: Pass pointers to int instead of long to av_parse_video_size(). 2018-04-18 20:26:44 +02:00
xcbgrab.c avdevice: use the buffer_size_t typedef where required 2021-03-10 20:26:36 -03:00
xv.c avdevice/xv: add support of wrapped avframe codec 2020-04-16 23:52:12 +02:00