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
55a5efd9
Commit
55a5efd9
authored
Dec 10, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/display.c: fixed segfault when switching audio/video track.
parent
95ce042e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/stream_out/display.c
modules/stream_out/display.c
+4
-2
No files found.
modules/stream_out/display.c
View file @
55a5efd9
...
...
@@ -2,7 +2,7 @@
* display.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: display.c,v 1.1
0 2003/11/30 22:47:5
5 gbazin Exp $
* $Id: display.c,v 1.1
1 2003/12/10 23:51:0
5 gbazin Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -195,7 +195,8 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id,
sout_buffer_t
*
p_next
;
block_t
*
p_block
;
if
(
p_buffer
->
i_size
>
0
&&
vlc_mutex_lock
(
&
p_sys
->
p_input
->
stream
.
stream_lock
);
if
(
id
->
p_es
->
p_dec
&&
p_buffer
->
i_size
>
0
&&
(
p_block
=
block_New
(
p_stream
,
p_buffer
->
i_size
))
)
{
p_block
->
i_dts
=
p_buffer
->
i_dts
<=
0
?
0
:
...
...
@@ -208,6 +209,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id,
input_DecodeBlock
(
id
->
p_es
->
p_dec
,
p_block
);
}
vlc_mutex_unlock
(
&
p_sys
->
p_input
->
stream
.
stream_lock
);
/* *** go to next buffer *** */
p_next
=
p_buffer
->
p_next
;
...
...
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