-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avcodec/videotoolbox: Pass all H.264 parameter sets to VideoToolbox
There can be multiple SPS/PPS in the H.264 stream. A parameter set can be referenced in a slice by its integer identifier. Before this change, we were only passing one SPS and one PPS to VideoToolbox, which resulted in incorrect decoding of videos that have multiple SPS/PPS. After this change, we pass all the parameter sets to VideoToolbox similar to the `ff_videotoolbox_hvcc_extradata_create` function.
- Loading branch information
Darren Mo
committed
Nov 21, 2019
1 parent
1c58dcf
commit 9567325
Showing
1 changed file
with
45 additions
and
18 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