Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Jan 3, 2024
1 parent 28b21e4 commit 5bd9c52
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ jobs:
vulkan-headers \
wayland-protocols
./ci/build-freebsd.sh
meson test -C build
meson test -v -C build
msys2:
runs-on: windows-latest
Expand Down
1 change: 1 addition & 0 deletions ci/build-freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export LDFLAGS="$LDFLAGS -L/usr/local/lib"
meson setup build \
--werror \
-Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \
-Db_sanitize=address \
-Diconv=disabled \
-Dlibmpv=true \
-Dlua=enabled \
Expand Down
2 changes: 1 addition & 1 deletion player/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ void uninit_video_out(struct MPContext *mpctx)
uninit_video_chain(mpctx);
if (mpctx->video_out) {
vo_destroy(mpctx->video_out);
mpctx->video_out = NULL;
mp_notify(mpctx, MPV_EVENT_VIDEO_RECONFIG, NULL);
}
mpctx->video_out = NULL;
}

static void vo_chain_uninit(struct vo_chain *vo_c)
Expand Down
5 changes: 2 additions & 3 deletions video/out/vo_null.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,11 @@ static int preinit(struct vo *vo)

static int control(struct vo *vo, uint32_t request, void *data)
{
struct priv *p = vo->priv;
switch (request) {
case VOCTRL_GET_DISPLAY_FPS:
if (!p->cfg_fps)
if (!((struct priv*)vo->priv)->cfg_fps)
break;
*(double *)data = p->cfg_fps;
*(double *)data = ((struct priv*)vo->priv)->cfg_fps;
return VO_TRUE;
}
return VO_NOTIMPL;
Expand Down

0 comments on commit 5bd9c52

Please sign in to comment.