forked from openlp/openlp
bugfixing
This commit is contained in:
parent
73d0050b95
commit
b5dfba86fb
@ -311,6 +311,11 @@ class MediaController(object):
|
|||||||
isValid = self.check_file_type(controller, display)
|
isValid = self.check_file_type(controller, display)
|
||||||
display.override[u'theme'] = u''
|
display.override[u'theme'] = u''
|
||||||
display.override[u'video'] = True
|
display.override[u'video'] = True
|
||||||
|
if controller.media_info.is_background:
|
||||||
|
# ignore start/end time
|
||||||
|
controller.media_info.start_time = 0
|
||||||
|
controller.media_info.end_time = 0
|
||||||
|
else:
|
||||||
controller.media_info.start_time = display.serviceItem.start_time
|
controller.media_info.start_time = display.serviceItem.start_time
|
||||||
controller.media_info.end_time = display.serviceItem.end_time
|
controller.media_info.end_time = display.serviceItem.end_time
|
||||||
elif controller.previewDisplay:
|
elif controller.previewDisplay:
|
||||||
|
Loading…
Reference in New Issue
Block a user