Mercurial > libdvdnav.hg
diff vm/vm.c @ 401:390fbf2a9602 src
Provide a way to retrieve video resolution.
Needed for correct aspect ratio support in VLC.
Patch by Jean-Baptiste Kempf /jb*videolan#org\
author | rathann |
---|---|
date | Tue, 25 May 2010 23:33:59 +0000 |
parents | 3daa43270d2c |
children | 1ce807c12563 |
line wrap: on
line diff
--- a/vm/vm.c Sun Sep 06 15:26:43 2009 +0000 +++ b/vm/vm.c Tue May 25 23:33:59 2010 +0000 @@ -858,8 +858,8 @@ break; } } +#endif -/* currently unused */ void vm_get_video_res(vm_t *vm, int *width, int *height) { video_attr_t attr = vm_get_video_attr(vm); @@ -883,7 +883,6 @@ break; } } -#endif int vm_get_video_aspect(vm_t *vm) { int aspect = vm_get_video_attr(vm).display_aspect_ratio;