diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2007-04-04 22:51:57 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2007-04-04 22:51:57 +0000 |
commit | 4d9c0012d42b35ed5e0a8f2280d1ea2ba220b259 (patch) | |
tree | b7342d21dbb0606559945028b53f6f890f5f69e4 /apps/plugins/mpegplayer/mpegplayer.c | |
parent | c6fce6cad3e259d4ea4d92ea9022298204125669 (diff) | |
download | rockbox-4d9c0012d42b35ed5e0a8f2280d1ea2ba220b259.tar.gz rockbox-4d9c0012d42b35ed5e0a8f2280d1ea2ba220b259.zip |
just pass the struct to vo_setup instead of multiple arguments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13022 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 86145bb4b6..a2e22ed2bd 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c | |||
@@ -879,12 +879,7 @@ static void video_thread(void) | |||
879 | continue; | 879 | continue; |
880 | 880 | ||
881 | case STATE_SEQUENCE: | 881 | case STATE_SEQUENCE: |
882 | vo_setup(info->sequence->display_width, | 882 | vo_setup(info->sequence); |
883 | info->sequence->display_height, | ||
884 | info->sequence->width, | ||
885 | info->sequence->height, | ||
886 | info->sequence->chroma_width, | ||
887 | info->sequence->chroma_height); | ||
888 | mpeg2_skip (mpeg2dec, false); | 883 | mpeg2_skip (mpeg2dec, false); |
889 | 884 | ||
890 | break; | 885 | break; |