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
91c55963
Commit
91c55963
authored
Aug 23, 2006
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BeOS / gcc 2.x fixes, patch by Cian Duffy
parent
4448a185
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
11 deletions
+16
-11
include/libvlc_internal.h
include/libvlc_internal.h
+2
-0
modules/codec/ffmpeg/mux.c
modules/codec/ffmpeg/mux.c
+2
-1
modules/demux/playlist/gvp.c
modules/demux/playlist/gvp.c
+7
-7
modules/gui/beos/InterfaceWindow.cpp
modules/gui/beos/InterfaceWindow.cpp
+2
-2
src/playlist/item.c
src/playlist/item.c
+3
-1
No files found.
include/libvlc_internal.h
View file @
91c55963
...
...
@@ -32,8 +32,10 @@ extern "C" {
#include <vlc/vlc.h>
#ifndef WIN32
#ifndef __BEOS__
#include <X11/Xlib.h>
#endif
#endif
struct
libvlc_instance_t
{
...
...
modules/codec/ffmpeg/mux.c
View file @
91c55963
...
...
@@ -79,6 +79,7 @@ static offset_t IOSeek( void *opaque, offset_t offset, int whence );
*****************************************************************************/
int
E_
(
OpenMux
)(
vlc_object_t
*
p_this
)
{
AVOutputFormat
*
file_oformat
;
sout_mux_t
*
p_mux
=
(
sout_mux_t
*
)
p_this
;
sout_mux_sys_t
*
p_sys
;
AVFormatParameters
params
,
*
ap
=
&
params
;
...
...
@@ -87,7 +88,7 @@ int E_(OpenMux)( vlc_object_t *p_this )
av_register_all
();
/* Find the requested muxer */
AVOutputFormat
*
file_oformat
=
file_oformat
=
guess_format
(
NULL
,
p_mux
->
p_access
->
psz_name
,
NULL
);
if
(
!
file_oformat
)
{
...
...
modules/demux/playlist/gvp.c
View file @
91c55963
...
...
@@ -100,13 +100,6 @@ static int Demux( demux_t *p_demux )
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
INIT_PLAYLIST_STUFF
;
p_sys
->
p_playlist
=
p_playlist
;
p_sys
->
p_current
=
p_current
;
p_sys
->
i_parent_id
=
i_parent_id
;
p_sys
->
p_item_in_category
=
p_item_in_category
;
char
*
psz_line
;
char
*
psz_attrvalue
;
...
...
@@ -117,6 +110,13 @@ static int Demux( demux_t *p_demux )
char
*
psz_title
=
NULL
;
char
*
psz_description
=
NULL
;
INIT_PLAYLIST_STUFF
;
p_sys
->
p_playlist
=
p_playlist
;
p_sys
->
p_current
=
p_current
;
p_sys
->
i_parent_id
=
i_parent_id
;
p_sys
->
p_item_in_category
=
p_item_in_category
;
while
(
(
psz_line
=
stream_ReadLine
(
p_demux
->
s
)
)
)
{
if
(
*
psz_line
==
'#'
)
...
...
modules/gui/beos/InterfaceWindow.cpp
View file @
91c55963
...
...
@@ -321,14 +321,14 @@ InterfaceWindow::InterfaceWindow( intf_thread_t * _p_intf, BRect frame,
/* Add the Show menu */
fShowMenu
=
new
BMenu
(
_
(
"Window"
)
);
#if 0
ADD_ELLIPSIS( _("Playlist") );
fShowMenu->AddItem( new BMenuItem( psz_tmp, new BMessage( OPEN_PLAYLIST ), 'P') );
#endif
ADD_ELLIPSIS
(
_
(
"Messages"
)
);
fShowMenu
->
AddItem
(
new
BMenuItem
(
psz_tmp
,
new
BMessage
(
OPEN_MESSAGES
),
'M'
)
);
#if 0
ADD_ELLIPSIS
(
_
(
"Preferences"
)
);
fShowMenu
->
AddItem
(
new
BMenuItem
(
psz_tmp
,
new
BMessage
(
OPEN_PREFERENCES
),
'S'
)
);
#endif
fMenuBar
->
AddItem
(
fShowMenu
);
// add the media control view after the menubar is complete
...
...
src/playlist/item.c
View file @
91c55963
...
...
@@ -360,6 +360,8 @@ void playlist_NodeAddItem( playlist_t *p_playlist, playlist_item_t *p_item,
playlist_item_t
*
playlist_ItemToNode
(
playlist_t
*
p_playlist
,
playlist_item_t
*
p_item
)
{
playlist_item_t
*
p_item_in_category
;
/* What we do
* Find the input in CATEGORY.
* - If we find it
...
...
@@ -379,7 +381,7 @@ playlist_item_t *playlist_ItemToNode( playlist_t *p_playlist,
return
p_item
;
/** \todo First look if we don't already have it */
p
laylist_item_t
*
p
_item_in_category
=
playlist_ItemFindFromInputAndRoot
(
p_item_in_category
=
playlist_ItemFindFromInputAndRoot
(
p_playlist
,
p_item
->
p_input
->
i_id
,
p_playlist
->
p_root_category
);
...
...
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