]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix some issues introduced in #0165f365cd58bbcc3734e4ec9ce696b42870ff8e
authorFlole <flole@flole.de>
Mon, 10 Jan 2022 02:59:37 +0000 (03:59 +0100)
committerFlole <flole@flole.de>
Mon, 10 Jan 2022 02:59:37 +0000 (03:59 +0100)
src/transcoding/codec/codecs/libs/nvenc.c
src/transcoding/codec/internals.h

index f496555df004e06efc4c78a1d3adbd348ebc38c2..6defe7077de549c94885164a660c77c212b78f05 100644 (file)
@@ -52,7 +52,7 @@
 #define NV_ENC_HEVC_PROFILE_MAIN_10                        1
 #define NV_ENC_HEVC_PROFILE_REXT                               2
 
-#define NV_ENC_PROFILE_UNKNOWN                      4
+#define NV_ENC_PROFILE_UNKNOWN                      FF_PROFILE_UNKNOWN
 
 #define NV_ENC_LEVEL_AUTOSELECT                     0
 
index 7ce22acef43566b82aa8a4e97f1f432a6f2daf8c..908f172a5f44d1acab287da8a3a11aba79f36bc3 100644 (file)
@@ -26,7 +26,7 @@
 #include "transcoding/memutils.h"
 
 
-#define AUTO_STR "Auto"
+#define AUTO_STR "auto"
 
 #define ADD_ENTRY(l, m, kt, k, vt, v) \
     do { \
@@ -167,9 +167,6 @@ tvh_codec_base_get_opts(TVHCodec *self, uint32_t opts, int visible);
 htsmsg_t *
 tvh_codec_get_list_profiles(TVHCodec *self);
 
-/*htsmsg_t *
-tvh_codec_get_list_level(TVHCodec *self);*/
-
 /* codec_profile_video_class */
 
 typedef struct tvh_codec_video {