diff options
| author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-10-03 20:03:59 +0100 |
|---|---|---|
| committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-10-03 20:03:59 +0100 |
| commit | 562b7dcefad5d0acd7c906dfa97107e8be8ff536 (patch) | |
| tree | 9c8d3dc5530299b5053c3dcb0361d8aab7f2cb7e /src/video_out | |
| parent | 7679851773f5f4586a3a74b7da722607a61625d4 (diff) | |
| parent | edadcb8edb2b0cff8d7408186d581065ea4fe3a6 (diff) | |
| download | xine-lib-562b7dcefad5d0acd7c906dfa97107e8be8ff536.tar.gz xine-lib-562b7dcefad5d0acd7c906dfa97107e8be8ff536.tar.bz2 | |
Merge from 1.1.
Diffstat (limited to 'src/video_out')
| -rw-r--r-- | src/video_out/video_out_xv.c | 5 | ||||
| -rw-r--r-- | src/video_out/video_out_xxmc.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index aca59e8d1..100129fdb 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -252,11 +252,6 @@ static XvImage *create_ximage (xv_driver_t *this, XShmSegmentInfo *shminfo, unsigned int xv_format; XvImage *image = NULL; - if (width <= 0) - width = 1; - if (height <= 0) - height = 1; - if (this->use_pitch_alignment) { lprintf ("use_pitch_alignment old width=%d",width); width = (width + 7) & ~0x7; diff --git a/src/video_out/video_out_xxmc.c b/src/video_out/video_out_xxmc.c index 04767ec27..0f1040685 100644 --- a/src/video_out/video_out_xxmc.c +++ b/src/video_out/video_out_xxmc.c @@ -606,11 +606,6 @@ static XvImage *create_ximage (xxmc_driver_t *this, XShmSegmentInfo *shminfo, unsigned int xv_format; XvImage *image = NULL; - if (width <= 0) - width = 1; - if (height <= 0) - height = 1; - if (this->use_pitch_alignment) { width = (width + 7) & ~0x7; } |
