mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 18:05:21 +00:00
ARGH, changing playback speed was a mistake...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4605 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2fd7d64a47
commit
f31c512e5d
@ -328,10 +328,6 @@ static uint32_t draw_frame(uint8_t * src[])
|
||||
|
||||
static void flip_page(void)
|
||||
{
|
||||
if (!vo_pts) {
|
||||
ioval = (90000.0 / vo_fps);
|
||||
ioctl(fd_control, EM8300_IOCTL_SCR_SETSPEED, &ioval);
|
||||
}
|
||||
#ifdef USE_LIBAVCODEC
|
||||
if (img_format == IMGFMT_YV12) {
|
||||
int out_size = avcodec_encode_video(avc_context, avc_outbuf, avc_outbuf_size, &avc_picture);
|
||||
@ -393,9 +389,6 @@ static uint32_t draw_slice(uint8_t *srcimg[], int stride[], int w, int h, int x0
|
||||
static void uninit(void)
|
||||
{
|
||||
printf("VO: [dxr3] Uninitializing\n");
|
||||
/* Set the default playback speed to 0x900 */
|
||||
ioval = 0x900;
|
||||
ioctl(fd_control, EM8300_IOCTL_SCR_SETSPEED, &ioval);
|
||||
#ifdef USE_LIBAVCODEC
|
||||
if (avc_context) {
|
||||
avcodec_close(avc_context);
|
||||
|
Loading…
Reference in New Issue
Block a user