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
9ea8501d
Commit
9ea8501d
authored
Aug 31, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix some backport conflicts due to not backported updated playlist core
parent
1b8f3561
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
17 deletions
+13
-17
modules/access_output/http.c
modules/access_output/http.c
+2
-2
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+11
-15
No files found.
modules/access_output/http.c
View file @
9ea8501d
...
...
@@ -313,10 +313,10 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
}
psz_name
=
strrchr
(
p_playlist
->
status
.
p_item
->
p_input
->
psz_uri
,
psz_name
=
strrchr
(
p_playlist
->
status
.
p_item
->
input
.
psz_uri
,
DIRECTORY_SEPARATOR
);
if
(
psz_name
!=
NULL
)
psz_name
++
;
else
psz_name
=
p_playlist
->
status
.
p_item
->
p_input
->
psz_uri
;
else
psz_name
=
p_playlist
->
status
.
p_item
->
input
.
psz_uri
;
asprintf
(
&
psz_txt
,
"path=%s"
,
psz_file_name
);
...
...
modules/gui/macosx/intf.m
View file @
9ea8501d
...
...
@@ -979,7 +979,6 @@ static VLCMain *_o_sharedMainInstance = nil;
return
;
}
#define p_input p_intf->p_sys->p_input
if
(
p_intf
->
p_sys
->
b_input_update
)
{
/* Called when new input is opened */
...
...
@@ -1001,17 +1000,17 @@ static VLCMain *_o_sharedMainInstance = nil;
vlc_object_release
(
p_playlist
);
if
(
(
b_input
=
(
p_input
!=
NULL
)
)
)
if
(
(
b_input
=
(
p_in
tf
->
p_sys
->
p_in
put
!=
NULL
)
)
)
{
vlc_object_yield
(
p_input
);
vlc_object_yield
(
p_in
tf
->
p_sys
->
p_in
put
);
/* seekable streams */
b_seekable
=
var_GetBool
(
p_input
,
"seekable"
);
b_seekable
=
var_GetBool
(
p_in
tf
->
p_sys
->
p_in
put
,
"seekable"
);
/* check wether slow/fast motion is possible*/
b_control
=
p_input
->
input
.
b_can_pace_control
;
b_control
=
p_in
tf
->
p_sys
->
p_in
put
->
input
.
b_can_pace_control
;
/* chapters & titles */
//b_chapters = p_input->stream.i_area_nb > 1;
//b_chapters = p_in
tf->p_sys->p_in
put->stream.i_area_nb > 1;
vlc_object_release
(
p_intf
->
p_sys
->
p_input
);
}
...
...
@@ -1081,7 +1080,7 @@ static VLCMain *_o_sharedMainInstance = nil;
p_playlist
->
status
.
p_item
->
input
.
psz_name
];
[
self
setScrollField
:
o_temp
stopAfter
:
-
1
];
p_vout
=
vlc_object_find
(
p_input
,
VLC_OBJECT_VOUT
,
p_vout
=
vlc_object_find
(
p_in
tf
->
p_sys
->
p_in
put
,
VLC_OBJECT_VOUT
,
FIND_PARENT
);
if
(
p_vout
!=
NULL
)
{
...
...
@@ -1105,7 +1104,7 @@ static VLCMain *_o_sharedMainInstance = nil;
p_intf
->
p_sys
->
b_current_title_update
=
FALSE
;
}
if
(
p_input
&&
[
o_timeslider
isEnabled
]
)
if
(
p_in
tf
->
p_sys
->
p_in
put
&&
[
o_timeslider
isEnabled
]
)
{
/* Update the slider */
vlc_value_t
time
;
...
...
@@ -1114,11 +1113,11 @@ static VLCMain *_o_sharedMainInstance = nil;
vlc_value_t
pos
;
float
f_updated
;
var_Get
(
p_input
,
"position"
,
&
pos
);
var_Get
(
p_in
tf
->
p_sys
->
p_in
put
,
"position"
,
&
pos
);
f_updated
=
10000
.
*
pos
.
f_float
;
[
o_timeslider
setFloatValue
:
f_updated
];
var_Get
(
p_input
,
"time"
,
&
time
);
var_Get
(
p_in
tf
->
p_sys
->
p_in
put
,
"time"
,
&
time
);
i_seconds
=
time
.
i_time
/
1000000
;
o_time
=
[
NSString
stringWithFormat
:
@"%d:%02d:%02d"
,
...
...
@@ -1144,7 +1143,7 @@ static VLCMain *_o_sharedMainInstance = nil;
}
/* Manage Playing status */
var_Get
(
p_input
,
"state"
,
&
val
);
var_Get
(
p_in
tf
->
p_sys
->
p_in
put
,
"state"
,
&
val
);
if
(
p_intf
->
p_sys
->
i_play_status
!=
val
.
i_int
)
{
p_intf
->
p_sys
->
i_play_status
=
val
.
i_int
;
...
...
@@ -1161,7 +1160,6 @@ static VLCMain *_o_sharedMainInstance = nil;
[
self
setSubmenusEnabled
:
FALSE
];
}
#undef p_input
[
self
updateMessageArray
];
...
...
@@ -1261,8 +1259,7 @@ static VLCMain *_o_sharedMainInstance = nil;
-
(
void
)
resetScrollField
{
i_end_scroll
=
-
1
;
#define p_input p_intf->p_sys->p_input
if
(
p_input
&&
!
p_input
->
b_die
)
if
(
p_intf
->
p_sys
->
p_input
&&
!
p_intf
->
p_sys
->
p_input
->
b_die
)
{
NSString
*
o_temp
;
playlist_t
*
p_playlist
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
...
...
@@ -1280,7 +1277,6 @@ static VLCMain *_o_sharedMainInstance = nil;
vlc_object_release
(
p_playlist
);
return
;
}
#undef p_input
[
self
setScrollField
:
_NS
(
"VLC media player"
)
stopAfter
:
-
1
];
}
...
...
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