Skip to content

Commit

Permalink
Fix session-export util (timecode: frames, not samples)
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Apr 9, 2019
1 parent 8017a7f commit 25eb8ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions session_utils/export.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ static int export_session (Session *session,
" <Start>"
" <Trim enabled=\"false\"/>"
" <Add enabled=\"false\">"
" <Duration format=\"Timecode\" hours=\"0\" minutes=\"0\" seconds=\"0\" samples=\"0\"/>"
" <Duration format=\"Timecode\" hours=\"0\" minutes=\"0\" seconds=\"0\" frames=\"0\"/>"
" </Add>"
" </Start>"
" <End>"
" <Trim enabled=\"false\"/>"
" <Add enabled=\"false\">"
" <Duration format=\"Timecode\" hours=\"0\" minutes=\"0\" seconds=\"0\" samples=\"0\"/>"
" <Duration format=\"Timecode\" hours=\"0\" minutes=\"0\" seconds=\"0\" frames=\"0\"/>"
" </Add>"
" </End>"
" </Silence>"
Expand Down Expand Up @@ -254,7 +254,6 @@ int main (int argc, char* argv[])
settings._sample_format = ExportFormatBase::SF_Float;
break;
}

/* fall through */
default:
fprintf(stderr, "Invalid Bit Depth\n");
Expand Down

0 comments on commit 25eb8ca

Please sign in to comment.