mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10803 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
63ee7c8f40
commit
5e1ed4101b
@ -172,8 +172,8 @@ static mp_key_name_t key_names[] = {
|
||||
{ KEY_KP8, "KP8" },
|
||||
{ KEY_KP9, "KP9" },
|
||||
{ KEY_KPDEL, "KP_DEL" },
|
||||
{ KEY_KPDEC, "KP_DEL" },
|
||||
{ KEY_KPINS, "KP0" },
|
||||
{ KEY_KPDEC, "KP_DEC" },
|
||||
{ KEY_KPINS, "KP_INS" },
|
||||
{ KEY_KPENTER, "KP_ENTER" },
|
||||
{ MOUSE_BTN0, "MOUSE_BTN0" },
|
||||
{ MOUSE_BTN1, "MOUSE_BTN1" },
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include "fastmemcpy.h"
|
||||
#include "../postproc/rgb2rgb.h"
|
||||
|
||||
#include "../libmpcodecs/vf_scale.h"
|
||||
|
||||
static vo_info_t info =
|
||||
{
|
||||
@ -106,6 +106,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
|
||||
|
||||
if(using_format != IMGFMT_YV12)
|
||||
{
|
||||
sws_rgb2rgb_init(get_sws_cpuflags());
|
||||
rgb_buffer = malloc(image_width * image_height * 3);
|
||||
if (!rgb_buffer)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user