ffmpeg/libavdevice
Lukasz Marek 20fe316e47 lavd/sdl: reset context variables after destroy
SDL device reports double free or hangs when quiting.
Reseting variables solves the issue.

The issue is caused by double call of write_trailer callback.
It is called for the first time in write_packet when quit flag is set.
Second call comes from ffmpeg.c or may come from other client application.

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-08 12:27:00 +01:00
..
alldevices.c lavd: add opengl device 2014-01-27 15:18:18 +01:00
alsa-audio-common.c
alsa-audio-dec.c alsa-audio-dec: explicitly cast the delay to a signed int64 2013-12-03 12:04:26 +01:00
alsa-audio-enc.c lavd/alsa: add stream validation 2013-11-03 10:28:15 +01:00
alsa-audio.h lavd/alsa: fix timestamp calculation 2013-11-03 10:28:15 +01:00
avdevice.c lavd: add avdevice_dev_to_app_control_message API 2014-01-27 15:18:17 +01:00
avdevice.h lavd: add avdevice_dev_to_app_control_message API 2014-01-27 15:18:17 +01:00
avdeviceres.rc Add Windows resource file support for shared libraries 2013-12-05 23:42:07 +01:00
bktr.c
caca.c
dshow_capture.h
dshow_common.c
dshow_enummediatypes.c
dshow_enumpins.c
dshow_filter.c
dshow_pin.c
dshow.c lavu,lavfi,lavd: do not hardcode AV_PIX_FMT_NB value when setting pixel format max value 2013-12-26 11:35:27 +01:00
dv1394.c
dv1394.h
fbdev_common.c lavd/fbdev_enc: add default device 2013-12-06 19:15:47 +01:00
fbdev_common.h lavd/fbdev_enc: add default device 2013-12-06 19:15:47 +01:00
fbdev_dec.c
fbdev_enc.c lavd/fbdev_enc: add default device 2013-12-06 19:15:47 +01:00
file_open.c
iec61883.c
jack_audio.c
lavfi.c lavd/lavfi: support unknown channel layouts. 2013-11-03 10:29:53 +01:00
libavdevice.v
libcdio.c
libdc1394.c
Makefile lavd: add opengl device 2014-01-27 15:18:18 +01:00
openal-dec.c
opengl_enc_shaders.h lavd/opengl_enc_shaders: make shaders code static and const 2014-02-02 00:50:44 +01:00
opengl_enc.c lavd/opengl_enc: fix parentheses in if condition 2014-02-02 22:14:34 +01:00
oss_audio.c
pulse_audio_common.c lavd/pulse: add ff_ prefix and fix param type 2013-11-04 00:47:00 +01:00
pulse_audio_common.h lavd/pulse: add ff_ prefix and fix param type 2013-11-04 00:47:00 +01:00
pulse_audio_dec.c pulse: get latency only when needed 2014-01-05 18:44:18 +01:00
pulse_audio_enc.c lavd/pulse_audio_enc: add buffer size control options 2013-11-27 10:12:54 +01:00
sdl.c lavd/sdl: reset context variables after destroy 2014-02-08 12:27:00 +01:00
sndio_common.c
sndio_common.h
sndio_dec.c
sndio_enc.c
timefilter.c
timefilter.h
v4l2-common.c
v4l2-common.h
v4l2.c avdevice/v4l2: only use average frame rate if set 2014-02-02 00:15:11 +01:00
v4l2enc.c
v4l.c
version.h lavd: add avdevice_dev_to_app_control_message API 2014-01-27 15:18:17 +01:00
vfwcap.c
x11grab.c
xv.c lavd/xv: report if no adaptor present. 2013-12-29 19:51:42 +01:00