[Bf-extensions-cvs] [0a853ec] master: Fix EDL not loading video with audio

Campbell Barton noreply at git.blender.org
Sat Nov 15 23:32:36 CET 2014


Commit: 0a853ec83c64764d3d14cc0bdface353420934aa
Author: Campbell Barton
Date:   Sat Nov 15 23:35:30 2014 +0100
Branches: master
https://developer.blender.org/rBA0a853ec83c64764d3d14cc0bdface353420934aa

Fix EDL not loading video with audio

thanks to Tintwotin

===================================================================

M	io_sequencer_edl/import_edl.py

===================================================================

diff --git a/io_sequencer_edl/import_edl.py b/io_sequencer_edl/import_edl.py
index 8134765..b1a767c 100644
--- a/io_sequencer_edl/import_edl.py
+++ b/io_sequencer_edl/import_edl.py
@@ -172,7 +172,8 @@ def load_edl(scene, filename, reel_files, reel_offsets, global_offset):
             path_full = reel_files[edit.reel]
             path_dironly, path_fileonly = os.path.split(path_full)
 
-            if edit.edit_type & parse_edl.EDIT_VIDEO:  # and edit.transition_type == parse_edl.TRANSITION_CUT:
+            if edit.edit_type & (parse_edl.EDIT_VIDEO | parse_edl.EDIT_VIDEO_AUDIO):
+                # and edit.transition_type == parse_edl.TRANSITION_CUT:
 
                 # try:
                 strip = sequence_editor.sequences.new_movie(



More information about the Bf-extensions-cvs mailing list