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
..
2014-01-27 15:18:18 +01:00
2013-02-02 14:13:11 +01:00
2013-12-03 12:04:26 +01:00
2013-11-03 10:28:15 +01:00
2013-11-03 10:28:15 +01:00
2014-01-27 15:18:17 +01:00
2014-01-27 15:18:17 +01:00
2013-12-05 23:42:07 +01:00
2013-08-10 10:29:44 +02:00
2012-10-12 19:05:58 +02:00
2012-12-17 03:44:12 -02:00
2012-05-24 14:15:10 +02:00
2012-05-24 14:15:10 +02:00
2012-05-24 14:15:10 +02:00
2012-11-16 19:26:13 +01:00
2013-03-25 22:12:07 +01:00
2013-12-26 11:35:27 +01:00
2013-08-08 11:36:21 +02:00
2012-12-21 00:18:34 +01:00
2013-12-06 19:15:47 +01:00
2013-12-06 19:15:47 +01:00
2013-10-24 08:45:59 +02:00
2013-12-06 19:15:47 +01:00
2013-08-10 00:53:33 +03:00
2012-11-13 19:44:21 +01:00
2013-10-29 11:40:04 +00:00
2013-11-03 10:29:53 +01:00
2013-08-30 15:47:38 +00:00
2012-12-05 13:34:45 +01:00
2014-01-27 15:18:18 +01:00
2013-03-12 15:28:22 +01:00
2014-02-02 00:50:44 +01:00
2014-02-02 22:14:34 +01:00
2013-08-08 11:36:21 +02:00
2013-11-04 00:47:00 +01:00
2013-11-04 00:47:00 +01:00
2014-01-05 18:44:18 +01:00
2013-11-27 10:12:54 +01:00
2014-02-08 12:27:00 +01:00
2012-08-07 22:45:46 +02:00
2012-10-06 13:45:08 +02:00
2013-03-24 13:20:53 +02:00
2012-08-07 22:45:46 +02:00
2013-10-29 11:40:04 +00:00
2013-10-29 11:40:04 +00:00
2013-05-20 01:11:28 +02:00
2013-05-20 01:11:28 +02:00
2014-02-02 00:15:11 +01:00
2013-05-20 16:33:21 +02:00
2013-09-21 15:36:33 +02:00
2014-01-27 15:18:17 +01:00
2013-08-03 22:24:31 +02:00
2013-10-24 11:56:36 +02:00
2013-12-29 19:51:42 +01:00