Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
455
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
b6dc08db
Commit
b6dc08db
authored
16 years ago
by
dionoea
Browse files
Options
Downloads
Patches
Plain Diff
Factorize picture dating and releasing code.
parent
728bc0ab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/video_filter/filter_picture.h
+17
-0
17 additions, 0 deletions
modules/video_filter/filter_picture.h
with
17 additions
and
0 deletions
modules/video_filter/filter_picture.h
+
17
−
0
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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment