[vlc-commits] test: player: don't create the "window" variable in libvlc
Steve Lhomme
git at videolan.org
Tue Mar 17 10:05:47 CET 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Feb 13 09:06:33 2020 +0100| [f7d7020b6ed3578f871e510d7b0a06d43e51a003] | committer: Steve Lhomme
test: player: don't create the "window" variable in libvlc
The variable already exists in libvlc. If for some reason the variable is
removed from libvlc this test should fail as it's setting a variable that will
no longer be used.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7d7020b6ed3578f871e510d7b0a06d43e51a003
---
test/src/player/player.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/test/src/player/player.c b/test/src/player/player.c
index 2015474933..f465f96c0c 100644
--- a/test/src/player/player.c
+++ b/test/src/player/player.c
@@ -2059,9 +2059,7 @@ REPORT_LIST
reports_init(&ctx->report);
/* Force wdummy window */
- int ret = var_Create(vlc->p_libvlc_int, "window", VLC_VAR_STRING);
- assert(ret == VLC_SUCCESS);
- ret = var_SetString(vlc->p_libvlc_int, "window", "wdummy");
+ int ret = var_SetString(vlc->p_libvlc_int, "window", "wdummy");
assert(ret == VLC_SUCCESS);
ctx->player = vlc_player_New(VLC_OBJECT(vlc->p_libvlc_int),
More information about the vlc-commits
mailing list