Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
36ea4f47
Commit
36ea4f47
authored
Jun 23, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* backport of [11500] [11501] and [11502]
parent
4ac2bd85
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
6 deletions
+23
-6
modules/demux/livedotcom.cpp
modules/demux/livedotcom.cpp
+3
-1
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+12
-4
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+8
-1
No files found.
modules/demux/livedotcom.cpp
View file @
36ea4f47
...
...
@@ -769,8 +769,10 @@ static int Demux( demux_t *p_demux )
if
(
p_sys
->
b_multicast
&&
p_sys
->
b_no_data
&&
p_sys
->
i_no_data_ti
>
120
)
{
/* FIXME Make this configurable
msg_Err( p_demux, "no multicast data received in 36s, aborting" );
return 0;
*/
}
else
if
(
!
p_sys
->
b_multicast
&&
p_sys
->
b_no_data
&&
p_sys
->
i_no_data_ti
>
3
)
{
...
...
@@ -792,7 +794,7 @@ static int Demux( demux_t *p_demux )
return
0
;
}
}
else
if
(
p_sys
->
i_no_data_ti
>
10
)
else
if
(
!
p_sys
->
b_multicast
&&
p_sys
->
b_no_data
&&
p_sys
->
i_no_data_ti
>
10
)
{
/* EOF ? */
msg_Warn
(
p_demux
,
"no data received in 3s, eof ?"
);
...
...
modules/demux/mkv.cpp
View file @
36ea4f47
...
...
@@ -492,9 +492,16 @@ class vlc_stream_io_callback: public IOCallback
private:
stream_t
*
s
;
vlc_bool_t
mb_eof
;
vlc_bool_t
b_owner
;
public:
vlc_stream_io_callback
(
stream_t
*
);
vlc_stream_io_callback
(
stream_t
*
,
vlc_bool_t
);
virtual
~
vlc_stream_io_callback
()
{
if
(
b_owner
)
stream_Delete
(
s
);
}
virtual
uint32
read
(
void
*
p_buffer
,
size_t
i_size
);
virtual
void
setFilePointer
(
int64_t
i_offset
,
seek_mode
mode
=
seek_beginning
);
...
...
@@ -1392,7 +1399,7 @@ static int Open( vlc_object_t * p_this )
p_demux
->
pf_control
=
Control
;
p_demux
->
p_sys
=
p_sys
=
new
demux_sys_t
(
*
p_demux
);
p_io_callback
=
new
vlc_stream_io_callback
(
p_demux
->
s
);
p_io_callback
=
new
vlc_stream_io_callback
(
p_demux
->
s
,
VLC_FALSE
);
p_io_stream
=
new
EbmlStream
(
*
p_io_callback
);
if
(
p_io_stream
==
NULL
)
...
...
@@ -1469,7 +1476,7 @@ static int Open( vlc_object_t * p_this )
#endif
{
// test wether this file belongs to our family
vlc_stream_io_callback
*
p_file_io
=
new
vlc_stream_io_callback
(
stream_UrlNew
(
p_demux
,
s_filename
.
c_str
()));
vlc_stream_io_callback
*
p_file_io
=
new
vlc_stream_io_callback
(
stream_UrlNew
(
p_demux
,
s_filename
.
c_str
())
,
VLC_TRUE
);
EbmlStream
*
p_estream
=
new
EbmlStream
(
*
p_file_io
);
p_stream
=
p_sys
->
AnalyseAllSegmentsFound
(
p_estream
);
...
...
@@ -3224,9 +3231,10 @@ static int Demux( demux_t *p_demux)
/*****************************************************************************
* Stream managment
*****************************************************************************/
vlc_stream_io_callback
::
vlc_stream_io_callback
(
stream_t
*
s_
)
vlc_stream_io_callback
::
vlc_stream_io_callback
(
stream_t
*
s_
,
vlc_bool_t
b_owner_
)
{
s
=
s_
;
b_owner
=
b_owner_
;
mb_eof
=
VLC_FALSE
;
}
...
...
modules/gui/macosx/playlist.m
View file @
36ea4f47
...
...
@@ -925,7 +925,14 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
}
if
(
o_result
!=
NULL
)
{
for
(
i
=
1
;
i
<
[
o_result
count
]
-
1
;
i
++
)
int
i_start
;
if
(
[[
o_result
objectAtIndex
:
0
]
pointerValue
]
==
p_playlist
->
p_general
)
i_start
=
1
;
else
i_start
=
0
;
for
(
i
=
i_start
;
i
<
[
o_result
count
]
-
1
;
i
++
)
{
[
o_outline_view
expandItem
:
[
o_outline_dict
objectForKey
:
[
NSString
stringWithFormat
:
@"%p"
,
...
...
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