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
b6dc08db
Commit
b6dc08db
authored
Jun 04, 2008
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Factorize picture dating and releasing code.
parent
728bc0ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
modules/video_filter/filter_picture.h
modules/video_filter/filter_picture.h
+17
-0
No files found.
modules/video_filter/filter_picture.h
View file @
b6dc08db
...
...
@@ -82,3 +82,20 @@ static inline int GetPackedYuvOffsets( vlc_fourcc_t i_chroma,
return
VLC_EGENERIC
;
}
}
/*****************************************************************************
*
*****************************************************************************/
static
inline
picture_t
*
CopyMetaAndRelease
(
picture_t
*
p_outpic
,
picture_t
*
p_inpic
)
{
p_outpic
->
date
=
p_inpic
->
date
;
p_outpic
->
b_force
=
p_inpic
->
b_force
;
p_outpic
->
i_nb_fields
=
p_inpic
->
i_nb_fields
;
p_outpic
->
b_progressive
=
p_inpic
->
b_progressive
;
p_outpic
->
b_top_field_first
=
p_inpic
->
b_top_field_first
;
if
(
p_inpic
->
pf_release
)
p_inpic
->
pf_release
(
p_inpic
);
return
p_outpic
;
}
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