Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
25487d2c
Commit
25487d2c
authored
Aug 04, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove code from module descriptor.
That's very naughty.
parent
63c598f2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
2 deletions
+4
-2
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/audio.c
+1
-0
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/encoder.c
+1
-0
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+1
-2
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video.c
+1
-0
No files found.
modules/codec/ffmpeg/audio.c
View file @
25487d2c
...
...
@@ -91,6 +91,7 @@ int E_(InitAudioDec)( decoder_t *p_dec, AVCodecContext *p_context,
decoder_sys_t
*
p_sys
;
vlc_value_t
lockval
;
var_Create
(
p_object
->
p_libvlc_global
,
"avcodec"
,
VLC_VAR_MUTEX
);
var_Get
(
p_dec
->
p_libvlc_global
,
"avcodec"
,
&
lockval
);
/* Allocate the memory needed to store the decoder's structure */
...
...
modules/codec/ffmpeg/encoder.c
View file @
25487d2c
...
...
@@ -197,6 +197,7 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
vlc_value_t
val
;
vlc_value_t
lockval
;
var_Create
(
p_object
->
p_libvlc_global
,
"avcodec"
,
VLC_VAR_MUTEX
);
var_Get
(
p_enc
->
p_libvlc_global
,
"avcodec"
,
&
lockval
);
if
(
!
E_
(
GetFfmpegCodec
)(
p_enc
->
fmt_out
.
i_codec
,
&
i_cat
,
&
i_codec_id
,
...
...
modules/codec/ffmpeg/ffmpeg.c
View file @
25487d2c
...
...
@@ -235,8 +235,6 @@ vlc_module_begin();
add_shortcut
(
"ffmpeg-deinterlace"
);
#endif
var_Create
(
p_module
->
p_libvlc_global
,
"avcodec"
,
VLC_VAR_MUTEX
);
vlc_module_end
();
/*****************************************************************************
...
...
@@ -428,6 +426,7 @@ void E_(InitLibavcodec)( vlc_object_t *p_object )
static
int
b_ffmpeginit
=
0
;
vlc_value_t
lockval
;
var_Create
(
p_object
->
p_libvlc_global
,
"avcodec"
,
VLC_VAR_MUTEX
);
var_Get
(
p_object
->
p_libvlc_global
,
"avcodec"
,
&
lockval
);
vlc_mutex_lock
(
lockval
.
p_address
);
...
...
modules/codec/ffmpeg/video.c
View file @
25487d2c
...
...
@@ -217,6 +217,7 @@ int E_(InitVideoDec)( decoder_t *p_dec, AVCodecContext *p_context,
vlc_value_t
lockval
;
vlc_value_t
val
;
var_Create
(
p_object
->
p_libvlc_global
,
"avcodec"
,
VLC_VAR_MUTEX
);
var_Get
(
p_dec
->
p_libvlc_global
,
"avcodec"
,
&
lockval
);
/* Allocate the memory needed to store the decoder's structure */
...
...
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