Closed nekno closed 2 years ago
Can you squash into one commit please? Otherwise it looks good.
Can you squash into one commit please? Otherwise it looks good.
No problem, I'm used to doing a squash commit on merging the PR so didn't think about it.
I just don't think squashing on merge keeps the commit/author info.
Squashed.
From prior experience, I believe using the "squash and merge" button rather than the "merge" button on the PR would maintain a contribution for me as "author" and you would gain a contribution as "committer".
When my org has a bot squash and merge PRs automatically, the bot is the committer but the authors of each individual commit are preserved as "authors" on the merge commit.
I believe the same result would happen here, with or without squashing. You're creating the merge commit for your repo, and I would get an author contribution for the one commit rather than multiple commits during the squash.
Ah that's good to know. Thanks!
This fixes #97 to dynamically set the filename output for the converter based on the presence/absence of the
--discard
option.I'd personally prefer to see "RPU" explicitly included in the filenames to indicate where/when it's present in an HEVC stream, but I understand if your sense is that it should be obvious that it's carried with the EL when present or with the BL when not.
So I went with
BL_RPU.hevc
when--discard
is used andBL_EL_RPU.hevc
when not.I could easily change it if your preference is for
BL.hevc
with--discard
andBL_EL.hevc
without.Testing
--discard
dovi_tool -m 2 convert --discard duallayer.hevc
outputsBL_RPU.hevc
dovi_tool -m 2 convert duallayer.hevc
outputsBL_EL_RPU.hevc