diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-01-20 00:53:42 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-01-20 17:12:07 +0000 |
commit | 02c6165d2b3e8448f13a34a845113d94669b0050 (patch) | |
tree | 5b96f1468ef8da50d85349725041cc399dd18347 /player/command.c | |
parent | 2cb148549235e512249d9f5bc90e5245828640ce (diff) | |
download | mpv-02c6165d2b3e8448f13a34a845113d94669b0050.tar.bz2 mpv-02c6165d2b3e8448f13a34a845113d94669b0050.tar.xz |
command: minor m_property_strdup_ro style changes
Diffstat (limited to 'player/command.c')
-rw-r--r-- | player/command.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/player/command.c b/player/command.c index 27a06d46e3..3caaf897ce 100644 --- a/player/command.c +++ b/player/command.c @@ -1781,8 +1781,7 @@ static int mp_property_audio_devices(void *ctx, struct m_property *prop, static int mp_property_ao(void *ctx, struct m_property *p, int action, void *arg) { MPContext *mpctx = ctx; - return m_property_strdup_ro(action, arg, - mpctx->ao ? ao_get_name(mpctx->ao) : NULL); + return m_property_strdup_ro(action, arg, mpctx->ao ? ao_get_name(mpctx->ao) : NULL); } /// Audio delay (RW) @@ -2762,15 +2761,15 @@ static int mp_property_perf_info(void *ctx, struct m_property *p, int action, static int mp_property_vo(void *ctx, struct m_property *p, int action, void *arg) { MPContext *mpctx = ctx; - return m_property_strdup_ro(action, arg, - mpctx->video_out ? mpctx->video_out->driver->name : NULL); + return m_property_strdup_ro(action, arg, mpctx->video_out ? + mpctx->video_out->driver->name : NULL); } static int mp_property_gpu_context(void *ctx, struct m_property *p, int action, void *arg) { MPContext *mpctx = ctx; - return m_property_strdup_ro(action, arg, - mpctx->video_out ? mpctx->video_out->context_name : NULL); + return m_property_strdup_ro(action, arg, mpctx->video_out ? + mpctx->video_out->context_name : NULL); } static int mp_property_osd_dim(void *ctx, struct m_property *prop, |