Reimar Döffinger
313d1981ad
zerocodec: fix direct rendering.
...
Set picture type before calling get_buffer.
This allows the DR application to make better decisions.
It also fixes a resource leak in case of missing reference frames
since it would call get_buffer but never release_buffer.
Also use FFSWAP to ensure that the AVFrame is properly initialized
in the next get_buffer (in particular that data[0] is NULL).
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2012-07-21 21:11:37 +02:00
..
2012-07-19 18:44:46 +02:00
2012-07-11 04:04:29 +02:00
2012-07-18 22:34:48 +02:00
2012-07-19 22:01:31 +02:00
2012-07-08 00:26:27 +02:00
2012-07-21 05:48:31 +02:00
2012-07-21 06:39:01 +02:00
2012-07-20 11:18:58 +02:00
2012-07-21 05:48:31 +02:00
2012-07-07 12:34:04 +02:00
2012-07-16 16:06:01 +02:00
2012-07-12 23:57:00 +02:00
2012-07-20 15:24:27 +02:00
2012-07-10 14:34:04 +02:00
2012-07-10 02:17:52 +02:00
2012-07-18 22:34:48 +02:00
2012-07-18 22:34:48 +02:00
2012-07-20 18:13:25 +00:00
2012-07-19 18:44:46 +02:00
2012-07-12 23:57:00 +02:00
2012-07-16 16:48:09 +02:00
2012-07-12 23:57:00 +02:00
2012-07-19 22:01:31 +02:00
2012-07-19 22:01:31 +02:00
2012-07-08 23:40:55 +00:00
2012-07-15 14:49:32 +02:00
2012-07-10 02:17:53 +02:00
2012-07-10 02:17:53 +02:00
2012-07-10 02:17:53 +02:00
2012-07-10 02:17:52 +02:00
2012-07-10 02:17:52 +02:00
2012-07-10 02:17:52 +02:00
2012-07-18 17:22:17 +02:00
2012-07-14 03:49:11 +02:00
2012-07-12 23:18:48 +02:00
2012-07-16 20:45:41 +02:00
2012-07-17 08:53:36 +02:00
2012-07-21 16:12:04 +00:00
2012-07-18 01:27:19 +02:00
2012-07-20 11:18:58 +02:00
2012-07-14 13:37:50 +02:00
2012-07-20 11:18:58 +02:00
2012-07-18 16:22:41 +02:00
2012-07-09 22:40:12 +02:00
2012-07-14 14:50:02 -07:00
2012-07-17 08:12:49 +02:00
2012-07-10 19:38:24 +02:00
2012-07-09 15:38:28 +02:00
2012-07-09 15:38:16 +02:00
2012-07-08 17:59:56 +02:00
2012-07-15 02:12:02 +00:00
2012-07-09 22:40:12 +02:00
2012-07-13 22:22:24 +02:00
2012-07-09 22:40:12 +02:00
2012-07-09 22:40:12 +02:00
2012-07-13 20:35:08 +02:00
2012-07-19 19:08:36 +02:00
2012-07-17 17:06:24 +00:00
2012-07-15 14:49:32 +02:00
2012-07-07 22:33:13 +00:00
2012-07-08 23:43:18 +00:00
2012-07-16 01:32:52 +02:00
2012-07-20 19:44:26 +00:00
2012-07-14 13:02:38 +02:00
2012-07-14 13:02:38 +02:00
2012-07-17 01:23:35 +00:00
2012-07-17 01:23:35 +00:00
2012-07-14 13:02:51 +02:00
2012-07-18 22:34:48 +02:00
2012-07-11 23:57:11 +02:00
2012-07-21 05:48:31 +02:00
2012-07-07 13:02:22 +02:00
2012-07-16 01:32:52 +02:00
2012-07-21 05:48:31 +02:00
2012-07-11 23:26:55 +02:00
2012-07-18 22:34:48 +02:00
2012-07-18 22:34:48 +02:00
2012-07-18 22:34:48 +02:00
2012-07-16 01:32:52 +02:00
2012-07-16 01:32:52 +02:00
2012-07-18 22:34:48 +02:00
2012-07-18 22:34:48 +02:00
2012-07-14 03:02:03 +02:00
2012-07-21 21:11:37 +02:00