summaryrefslogtreecommitdiffstats
path: root/options/options.h
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-09-19 18:12:42 -0500
committerDudemanguy <random342@airmail.cc>2023-09-22 14:20:38 +0000
commitdb12a2f224239f1b2c1f58dc1feed9a1f4c8e553 (patch)
tree6cb5c0540a7d9064359d85ee39b3c079dc7d3c6c /options/options.h
parent73ad9eef2875247d38af99f4d8c804f2749a8588 (diff)
downloadmpv-db12a2f224239f1b2c1f58dc1feed9a1f4c8e553.tar.bz2
mpv-db12a2f224239f1b2c1f58dc1feed9a1f4c8e553.tar.xz
cuda: move --cuda-device to cuda_opts group
Also change a ta_free to talloc_free for consistency reasons.
Diffstat (limited to 'options/options.h')
-rw-r--r--options/options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/options/options.h b/options/options.h
index da37345edc..58c15b9f74 100644
--- a/options/options.h
+++ b/options/options.h
@@ -365,6 +365,7 @@ typedef struct MPOpts {
struct drm_opts *drm_opts;
struct wayland_opts *wayland_opts;
struct wingl_opts *wingl_opts;
+ struct cuda_opts *cuda_opts;
struct dvd_opts *dvd_opts;
struct vaapi_opts *vaapi_opts;
struct sws_opts *sws_opts;
@@ -373,6 +374,10 @@ typedef struct MPOpts {
int cuda_device;
} MPOpts;
+struct cuda_opts {
+ int cuda_device;
+};
+
struct dvd_opts {
int angle;
int speed;
@@ -384,6 +389,7 @@ struct filter_opts {
};
extern const struct m_sub_options vo_sub_opts;
+extern const struct m_sub_options cuda_conf;
extern const struct m_sub_options dvd_conf;
extern const struct m_sub_options mp_subtitle_sub_opts;
extern const struct m_sub_options mp_sub_filter_opts;