mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-16 20:00:17 +02:00
mplayer: fix playback of Theora files width width/height not multiple of 16
This commit is contained in:
parent
870294bae3
commit
9b60e67998
@ -10,7 +10,7 @@ PKG_NAME:=MPlayer
|
||||
PKG_REV:=33341
|
||||
FFMPEG_REV:=97dc86b793efb9c6ac604cdfff4027fe27efa12c
|
||||
PKG_VERSION:=r$(PKG_REV)
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
FFMPEG_SOURCE_URL:=git://git.videolan.org/ffmpeg.git
|
||||
|
13
mplayer/patches/040-fix-theora-framesize-not-x16.patch
Normal file
13
mplayer/patches/040-fix-theora-framesize-not-x16.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: MPlayer-r33333/libmpcodecs/vd_theora.c
|
||||
===================================================================
|
||||
--- MPlayer-r33333.orig/libmpcodecs/vd_theora.c 2011-05-01 10:23:23.000000000 +0200
|
||||
+++ MPlayer-r33333/libmpcodecs/vd_theora.c 2011-05-01 10:45:06.000000000 +0200
|
||||
@@ -133,7 +133,7 @@
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_V,"INFO: Theora video init ok!\n");
|
||||
mp_msg(MSGT_DECVIDEO,MSGL_INFO,"Frame: %dx%d, Picture %dx%d, Offset [%d,%d]\n", context->inf.width, context->inf.height, context->inf.frame_width, context->inf.frame_height, context->inf.offset_x, context->inf.offset_y);
|
||||
|
||||
- return mpcodecs_config_vo (sh,context->inf.width,context->inf.height,theora_pixelformat2imgfmt(context->inf.pixelformat));
|
||||
+ return mpcodecs_config_vo (sh,context->inf.frame_width,context->inf.frame_height,theora_pixelformat2imgfmt(context->inf.pixelformat));
|
||||
|
||||
err_out:
|
||||
free(context);
|
Loading…
Reference in New Issue
Block a user