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
44ea680b
Commit
44ea680b
authored
Oct 30, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: remove vout_HoldPicture()
parent
7e864e86
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
13 deletions
+2
-13
include/vlc_vout.h
include/vlc_vout.h
+0
-1
src/input/decoder.c
src/input/decoder.c
+1
-1
src/libvlccore.sym
src/libvlccore.sym
+0
-1
src/video_output/video_output.c
src/video_output/video_output.c
+1
-10
No files found.
include/vlc_vout.h
View file @
44ea680b
...
...
@@ -152,7 +152,6 @@ VLC_API void vout_ChangeAspectRatio( vout_thread_t *p_vout,
VLC_API
picture_t
*
vout_GetPicture
(
vout_thread_t
*
);
VLC_API
void
vout_PutPicture
(
vout_thread_t
*
,
picture_t
*
);
VLC_API
void
vout_HoldPicture
(
vout_thread_t
*
,
picture_t
*
);
VLC_API
void
vout_ReleasePicture
(
vout_thread_t
*
,
picture_t
*
);
/* */
...
...
src/input/decoder.c
View file @
44ea680b
...
...
@@ -2198,7 +2198,7 @@ static void vout_del_buffer( decoder_t *p_dec, picture_t *p_pic )
static
void
vout_link_picture
(
decoder_t
*
p_dec
,
picture_t
*
p_pic
)
{
vout_HoldPicture
(
p_dec
->
p_owner
->
p_vout
,
p_pic
);
picture_Hold
(
p_pic
);
}
static
void
vout_unlink_picture
(
decoder_t
*
p_dec
,
picture_t
*
p_pic
)
...
...
src/libvlccore.sym
View file @
44ea680b
...
...
@@ -615,7 +615,6 @@ vout_ChangeAspectRatio
vout_Close
vout_GetPicture
vout_PutPicture
vout_HoldPicture
vout_ReleasePicture
vout_PutSubpicture
vout_RegisterSubpictureChannel
...
...
src/video_output/video_output.c
View file @
44ea680b
...
...
@@ -407,7 +407,7 @@ void vout_FlushSubpictureChannel( vout_thread_t *vout, int channel )
*
* You MUST call vout_PutPicture or vout_ReleasePicture on it.
*
* You may use
vout_HoldPicture(paired with vout_ReleasePicture
) to keep a
* You may use
picture_Hold() (paired with vout_ReleasePicture()
) to keep a
* read-only reference.
*/
picture_t
*
vout_GetPicture
(
vout_thread_t
*
vout
)
...
...
@@ -452,15 +452,6 @@ void vout_ReleasePicture(vout_thread_t *vout, picture_t *picture)
vlc_mutex_unlock
(
&
vout
->
p
->
picture_lock
);
}
/**
* It increment the reference counter of a picture retreived by
* vout_GetPicture.
*/
void
vout_HoldPicture
(
vout_thread_t
*
vout
,
picture_t
*
picture
)
{
picture_Hold
(
picture
);
}
/* */
int
vout_GetSnapshot
(
vout_thread_t
*
vout
,
block_t
**
image_dst
,
picture_t
**
picture_dst
,
...
...
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