-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add astream and vstream properties to avformat producer (#941)
* add astream and vstream properties to avformat producer * sync audio stream index properties if "all" * change function param to absolute_index * remove unnecessary function param * Fix crash when setting video_index to -1 video_index can be used to index the streams array when it has a value of -1. This is a regression caused by 35402e6 * set astream and vstream if not set When opening an existing project that has only audio_index and video_index using the avformat-novalidate producer these properties are not set in producer init. This makes Shotcut unable to locate the relative stream indices in its Properties. --------- Co-authored-by: Brian Matherly <brian.matherly@yahoo.com>
- Loading branch information
Showing
2 changed files
with
195 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters