Changeset 1873
- Timestamp:
- 10/11/08 17:36:57 (2 months ago)
- svm:headrev:
cc3e1ea1-1e01-0410-8d68-8b121e83a9d5:11155- Location:
- freevo
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
src/video/plugins/mplayer.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
freevo/ChangeLog
r1864 r1873 34 34 * Fixed mplayer crash when auto cropping is enabled (B#2089592) 35 35 * Fixed mplayer when playlist is enabled (B#2219657) 36 * Fixed mplayer when playing a DVD iso (B#2249030) 36 37 * Fixed record server auto re-encode show title (B#2193796) 37 38 * Fixed record server generic record module to allow a group_type to be given (B#2017200) -
freevo/src/video/plugins/mplayer.py
r1862 r1873 215 215 if mode == 'dvd': 216 216 # dvd on harddisc 217 args['dvd-device'] = ' -dvd-device%s' % item.filename217 args['dvd-device'] = '%s' % item.filename 218 218 args['url'] = url[:6] + url[url.rfind('/')+1:] 219 219 elif mode != 'file' and hasattr(item.media, 'devicename'): 220 args['dvd-device'] = ' -dvd-device%s' % item.media.devicename220 args['dvd-device'] = '%s' % item.media.devicename 221 221 222 222 if item.media and hasattr(item.media, 'devicename'): 223 args['cdrom-device'] = ' -cdrom-device%s' % item.media.devicename223 args['cdrom-device'] = '%s' % item.media.devicename 224 224 225 225 if item.selected_subtitle == -1: … … 323 323 command += str('%(vc)s' % args).split() 324 324 command += ao.split() 325 command += str('%(dvd-device)s' % args).split()326 command += str('%(cdrom-device)s' % args).split()325 command += args['dvd-device'] and ['-dvd-device', '%(dvd-device)s' % args] or [] 326 command += args['cdrom-device'] and ['-cdrom-device', '%(cdrom-device)s' % args] or [] 327 327 command += str('%(alang)s' % args).split() 328 328 command += str('%(aid)s' % args).split() … … 338 338 command += args['mode_args'].split() 339 339 command += args['fxd_args'].split() 340 if args['af']: 341 command += ['-af', '%s' % ','.join(args['af'])] 342 if args['vf']: 343 command += ['-vf', '%s' % ','.join(args['vf'])] 340 command += args['af'] and ['-af', '%s' % ','.join(args['af'])] or [] 341 command += args['vf'] and ['-vf', '%s' % ','.join(args['vf'])] or [] 344 342 345 343 # use software scaler?
