diff options
author | John Stebbins <[email protected]> | 2015-10-17 15:57:03 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-11-12 09:49:56 -0800 |
commit | 890a551270ef8110e47d9c503e1588d3d2bc710f (patch) | |
tree | 1e31de5f379c54157c9ec095b55a8eeadca5ef8a /gtk/src/queuehandler.c | |
parent | 88ce808b3083415950be070fa7bdc90d49a67eea (diff) |
x264: add multilib support (a.k.a. 10-bit)
This adds the structure to load an libx264 10-bit shared library.
The user must install this library themselves to an appropriate place.
Diffstat (limited to 'gtk/src/queuehandler.c')
-rw-r--r-- | gtk/src/queuehandler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c index d99784070..ed2e16071 100644 --- a/gtk/src/queuehandler.c +++ b/gtk/src/queuehandler.c @@ -459,7 +459,7 @@ add_to_queue_list(signal_user_data_t *ud, GhbValue *settings, GtkTreeIter *piter // Next line in the display (Video Encoder Options) // Video Options: Preset - Tune - Profile - Level - if (video_encoder->codec == HB_VCODEC_X264 && + if ((video_encoder->codec & HB_VCODEC_X264_MASK) && !ghb_dict_get_bool(settings, "x264UseAdvancedOptions")) { const gchar *extra_opt = NULL; @@ -489,7 +489,7 @@ add_to_queue_list(signal_user_data_t *ud, GhbValue *settings, GtkTreeIter *piter XPRINT("%s%s", prefix, tune_opt); prefix = ","; } - if (video_encoder->codec == HB_VCODEC_X264) + if (video_encoder->codec & HB_VCODEC_X264_MASK) { if (fastdecode) { @@ -522,7 +522,7 @@ add_to_queue_list(signal_user_data_t *ud, GhbValue *settings, GtkTreeIter *piter XPRINT(_("<b>Advanced Options:</b> <small>%s</small>\n"), extra_opt); } } - else if (video_encoder->codec == HB_VCODEC_X264) + else if (video_encoder->codec & HB_VCODEC_X264_MASK) { // Next line in the display (Video Encoder Options) // Video Advanced Options: detailed settings |