mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Fixed a bug with prebuffering which would cause syncloss, someone at
sigma should go die for not giving us the damn tech docs =( git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4728 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
dffc07faf5
commit
b74f43fb50
@ -368,10 +368,6 @@ static uint32_t draw_frame(uint8_t * src[])
|
|||||||
|
|
||||||
static void flip_page(void)
|
static void flip_page(void)
|
||||||
{
|
{
|
||||||
if (!vo_fps) {
|
|
||||||
ioval = 90000.0 / vo_fps;
|
|
||||||
ioctl(fd_control, EM8300_IOCTL_SCR_SETSPEED, &ioval);
|
|
||||||
}
|
|
||||||
#ifdef USE_LIBAVCODEC
|
#ifdef USE_LIBAVCODEC
|
||||||
if (img_format == IMGFMT_YV12) {
|
if (img_format == IMGFMT_YV12) {
|
||||||
int out_size = avcodec_encode_video(avc_context, avc_outbuf, avc_outbuf_size, &avc_picture);
|
int out_size = avcodec_encode_video(avc_context, avc_outbuf, avc_outbuf_size, &avc_picture);
|
||||||
|
Loading…
Reference in New Issue
Block a user