Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
2bd94a6c
Commit
2bd94a6c
authored
Sep 19, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* playlist.c : unlock playlist before calling vout_Destroy (for osx)
* mp4: send complete atom for amr to the decoder.
parent
904ba46e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
10 deletions
+21
-10
modules/demux/mp4/mp4.c
modules/demux/mp4/mp4.c
+10
-5
src/playlist/playlist.c
src/playlist/playlist.c
+11
-5
No files found.
modules/demux/mp4/mp4.c
View file @
2bd94a6c
...
...
@@ -2,7 +2,7 @@
* mp4.c : MP4 file input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: mp4.c,v 1.3
8 2003/09/13 17:42:16
fenrir Exp $
* $Id: mp4.c,v 1.3
9 2003/09/19 21:53:48
fenrir Exp $
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -1047,14 +1047,19 @@ static int TrackCreateES ( input_thread_t *p_input,
case
VLC_FOURCC
(
'V'
,
'P'
,
'3'
,
'1'
):
case
VLC_FOURCC
(
'3'
,
'I'
,
'V'
,
'1'
):
case
VLC_FOURCC
(
'Z'
,
'y'
,
'G'
,
'o'
):
i_decoder_specific_info_len
=
p_sample
->
data
.
p_sample_vide
->
i_qt_image_description
;
p_decoder_specific_info
=
p_sample
->
data
.
p_sample_vide
->
p_qt_image_description
;
i_decoder_specific_info_len
=
p_sample
->
data
.
p_sample_vide
->
i_qt_image_description
;
p_decoder_specific_info
=
p_sample
->
data
.
p_sample_vide
->
p_qt_image_description
;
break
;
case
VLC_FOURCC
(
'Q'
,
'D'
,
'M'
,
'C'
):
case
VLC_FOURCC
(
'Q'
,
'D'
,
'M'
,
'2'
):
case
VLC_FOURCC
(
'Q'
,
'c'
,
'l'
,
'p'
):
i_decoder_specific_info_len
=
p_sample
->
data
.
p_sample_soun
->
i_qt_description
;
p_decoder_specific_info
=
p_sample
->
data
.
p_sample_soun
->
p_qt_description
;
case
VLC_FOURCC
(
's'
,
'a'
,
'm'
,
'r'
):
i_decoder_specific_info_len
=
p_sample
->
data
.
p_sample_soun
->
i_qt_description
;
p_decoder_specific_info
=
p_sample
->
data
.
p_sample_soun
->
p_qt_description
;
break
;
default:
break
;
...
...
src/playlist/playlist.c
View file @
2bd94a6c
...
...
@@ -2,7 +2,7 @@
* playlist.c : Playlist management functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: playlist.c,v 1.5
2 2003/09/15 00:01:49
fenrir Exp $
* $Id: playlist.c,v 1.5
3 2003/09/19 21:53:48
fenrir Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -386,8 +386,8 @@ int playlist_Sort( playlist_t * p_playlist , int i_type )
i_test
=
strcasecmp
(
p_playlist
->
pp_items
[
i
]
->
psz_name
,
p_playlist
->
pp_items
[
i_small
]
->
psz_name
);
if
(
i_type
==
SORT_NORMAL
&&
i_test
<
0
||
i_type
==
SORT_REVERSE
&&
i_test
>
0
)
if
(
(
i_type
==
SORT_NORMAL
&&
i_test
<
0
)
||
(
i_type
==
SORT_REVERSE
&&
i_test
>
0
)
)
{
i_small
=
i
;
}
...
...
@@ -677,10 +677,14 @@ static void RunThread ( playlist_t *p_playlist )
}
else
if
(
p_playlist
->
p_input
->
stream
.
control
.
i_status
!=
INIT_S
)
{
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
ObjectGarbageCollector
(
p_playlist
,
VLC_OBJECT_VOUT
,
&
b_vout_destroyed
,
&
i_vout_destroyed_date
);
&
b_vout_destroyed
,
&
i_vout_destroyed_date
);
ObjectGarbageCollector
(
p_playlist
,
VLC_OBJECT_SOUT
,
&
b_sout_destroyed
,
&
i_sout_destroyed_date
);
&
b_sout_destroyed
,
&
i_sout_destroyed_date
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
}
}
else
if
(
p_playlist
->
i_status
!=
PLAYLIST_STOPPED
)
...
...
@@ -690,10 +694,12 @@ static void RunThread ( playlist_t *p_playlist )
}
else
if
(
p_playlist
->
i_status
==
PLAYLIST_STOPPED
)
{
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
ObjectGarbageCollector
(
p_playlist
,
VLC_OBJECT_SOUT
,
&
b_sout_destroyed
,
&
i_sout_destroyed_date
);
ObjectGarbageCollector
(
p_playlist
,
VLC_OBJECT_VOUT
,
&
b_vout_destroyed
,
&
i_vout_destroyed_date
);
vlc_mutex_lock
(
&
p_playlist
->
object_lock
);
}
vlc_mutex_unlock
(
&
p_playlist
->
object_lock
);
...
...
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