]> granicus.if.org Git - handbrake/commit
scan: rationalize ffmpeg codec/profile names
authorJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 30 May 2018 22:00:04 +0000 (15:00 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Wed, 30 May 2018 22:00:04 +0000 (15:00 -0700)
commit2ce1b6d7fbabc27a391ad92927d803a1c1804ac2
treebc8057c87836ad05ca8572c83d75373404efc4d7
parent6a9a25943dfea697a393ca8bf9e1eb3bce8f88f7
scan: rationalize ffmpeg codec/profile names

ffmpeg is inconsistent in the format of returned profile names.
Sometimes the profile name includes the codec name and sometimes it does
not.  So search for the codec name in the profile name and add codec
name if it's not there.  Ugh!

Fixes https://github.com/HandBrake/HandBrake/issues/1375
libhb/scan.c