Skip to content

decklink: fix fourcc string to enum conversion

Steve Lhomme requested to merge robUx4/vlc:decklink-mode into master

Before 9168091a htonl() was used to convert the values to/from enum to the string. But that commit broke the conversion on little endian machines.

Now we don't use an intermediate string anymore. We just use GetDWBE() to do the endianness conversion of the char buffer if needed.

Edited by Steve Lhomme

Merge request reports