]> git.sesse.net Git - vlc/blobdiff - modules/access/screen/xcb.c
demux: provide both URL and file path as with access
[vlc] / modules / access / screen / xcb.c
index 1c76412cbc81642785fb93a483aa93e60dc389f9..6cc32afe0d7a461e36938e6e38657c0727992baa 100644 (file)
@@ -170,10 +170,10 @@ static int Open (vlc_object_t *obj)
     if (!strcmp (demux->psz_access, "window"))
     {
         char *end;
-        unsigned long ul = strtoul (demux->psz_path, &end, 0);
+        unsigned long ul = strtoul (demux->psz_location, &end, 0);
         if (*end || ul > 0xffffffff)
         {
-            msg_Err (obj, "bad X11 drawable %s", demux->psz_path);
+            msg_Err (obj, "bad X11 drawable %s", demux->psz_location);
             goto error;
         }
         p_sys->window = ul;