Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
278b0b2a
Commit
278b0b2a
authored
May 20, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix non linux compilation round 2.
parent
68e40a4e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
7 deletions
+19
-7
include/vlc_objects.h
include/vlc_objects.h
+4
-0
modules/control/http/http.c
modules/control/http/http.c
+1
-1
modules/demux/playlist/luaplaylist.c
modules/demux/playlist/luaplaylist.c
+1
-1
modules/demux/playlist/m3u.c
modules/demux/playlist/m3u.c
+1
-1
modules/gui/skins2/win32/win32_factory.cpp
modules/gui/skins2/win32/win32_factory.cpp
+4
-4
src/misc/objects.c
src/misc/objects.c
+8
-0
No files found.
include/vlc_objects.h
View file @
278b0b2a
...
...
@@ -110,6 +110,10 @@ VLC_EXPORT( vlc_list_t *, __vlc_list_find, ( vlc_object_t *, int, int ) );
VLC_EXPORT
(
void
,
vlc_list_release
,
(
vlc_list_t
*
)
);
VLC_EXPORT
(
libvlc_int_t
*
,
vlc_current_object
,
(
int
)
);
#if defined( WIN32 ) || defined( SYS_BEOS ) || defined( __APPLE__ )
VLC_EXPORT
(
const
char
*
,
vlc_path
,
(
vlc_object_t
*
)
);
#endif
/*}@*/
#define vlc_object_create(a,b) \
...
...
modules/control/http/http.c
View file @
278b0b2a
...
...
@@ -290,7 +290,7 @@ static int Open( vlc_object_t *p_this )
#if defined(__APPLE__) || defined(SYS_BEOS) || defined(WIN32)
if
(
(
psz_src
=
config_GetPsz
(
p_intf
,
"http-src"
))
==
NULL
)
{
char
*
psz_vlcpath
=
p_intf
->
p_libvlc_global
->
psz_vlcpath
;
char
*
psz_vlcpath
=
vlc_path
(
p_intf
)
;
psz_src
=
malloc
(
strlen
(
psz_vlcpath
)
+
strlen
(
"/share/http"
)
+
1
);
if
(
!
psz_src
)
return
VLC_ENOMEM
;
#if defined(WIN32)
...
...
modules/demux/playlist/luaplaylist.c
View file @
278b0b2a
...
...
@@ -296,7 +296,7 @@ int E_(Import_LuaPlaylist)( vlc_object_t *p_this )
# if defined(__APPLE__) || defined(SYS_BEOS) || defined(WIN32)
{
char
*
psz_vlcpath
=
p_demux
->
p_libvlc_global
->
psz_vlcpath
;
char
*
psz_vlcpath
=
vlc_path
(
p_demux
)
;
ppsz_dir_list
[
1
]
=
malloc
(
strlen
(
psz_vlcpath
)
+
strlen
(
"/share/luaplaylist"
)
+
1
);
if
(
!
ppsz_dir_list
[
1
]
)
return
VLC_ENOMEM
;
# if defined( WIN32 )
...
...
modules/demux/playlist/m3u.c
View file @
278b0b2a
modules/gui/skins2/win32/win32_factory.cpp
View file @
278b0b2a
...
...
@@ -227,13 +227,13 @@ bool Win32Factory::init()
// Initialize the resource path
m_resourcePath
.
push_back
(
(
string
)
getIntf
()
->
p_libvlc
->
psz_homedir
+
"
\\
"
+
CONFIG_DIR
+
"
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
getIntf
()
->
p_libvlc_global
->
psz_vlcpath
+
m_resourcePath
.
push_back
(
(
string
)
vlc_path
(
getIntf
()
)
+
"
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
getIntf
()
->
p_libvlc_global
->
psz_vlcpath
+
m_resourcePath
.
push_back
(
(
string
)
vlc_path
(
getIntf
()
)
+
"
\\
skins2"
);
m_resourcePath
.
push_back
(
(
string
)
getIntf
()
->
p_libvlc_global
->
psz_vlcpath
+
m_resourcePath
.
push_back
(
(
string
)
vlc_path
(
getIntf
()
)
+
"
\\
share
\\
skins"
);
m_resourcePath
.
push_back
(
(
string
)
getIntf
()
->
p_libvlc_global
->
psz_vlcpath
+
m_resourcePath
.
push_back
(
(
string
)
vlc_path
(
getIntf
()
)
+
"
\\
share
\\
skins2"
);
// All went well
...
...
src/misc/objects.c
View file @
278b0b2a
...
...
@@ -1370,3 +1370,11 @@ static void ListChildren( vlc_list_t *p_list, vlc_object_t *p_this, int i_type )
}
}
}
#if defined( WIN32 ) || defined( SYS_BEOS ) || defined( __APPLE__ )
const
char
*
vlc_path
(
vlc_object_t
*
p_this
)
{
return
vlc_global
(
p_this
)
->
psz_vlcpath
;
}
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment