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
4e6bc360
Commit
4e6bc360
authored
Jul 18, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use picture helpers.
parent
815e38a8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
12 deletions
+9
-12
modules/codec/avcodec/deinterlace.c
modules/codec/avcodec/deinterlace.c
+3
-6
modules/codec/fake.c
modules/codec/fake.c
+4
-4
modules/codec/subtitles/subsdec.c
modules/codec/subtitles/subsdec.c
+1
-1
modules/codec/subtitles/subsusf.c
modules/codec/subtitles/subsusf.c
+1
-1
No files found.
modules/codec/avcodec/deinterlace.c
View file @
4e6bc360
...
...
@@ -147,12 +147,9 @@ static picture_t *Deinterlace( filter_t *p_filter, picture_t *p_pic )
p_filter
->
pf_vout_buffer_del
(
p_filter
,
p_pic_dst
);
return
NULL
;
}
p_pic_dst
->
date
=
p_pic
->
date
;
p_pic_dst
->
b_force
=
p_pic
->
b_force
;
p_pic_dst
->
i_nb_fields
=
p_pic
->
i_nb_fields
;
p_pic_dst
->
b_progressive
=
true
;
p_pic_dst
->
b_top_field_first
=
p_pic
->
b_top_field_first
;
p_pic
->
pf_release
(
p_pic
);
picture_CopyProperties
(
p_pic_dst
,
p_pic
);
p_pic_dst
->
b_progressive
=
true
;
picture_Release
(
p_pic
);
return
p_pic_dst
;
}
modules/codec/fake.c
View file @
4e6bc360
...
...
@@ -277,7 +277,7 @@ static int OpenDecoder( vlc_object_t *p_this )
}
else
{
p
_old
->
pf_r
elease
(
p_old
);
p
icture_R
elease
(
p_old
);
}
}
}
...
...
@@ -314,7 +314,7 @@ static int OpenDecoder( vlc_object_t *p_this )
}
else
{
p
_old
->
pf_r
elease
(
p_old
);
p
icture_R
elease
(
p_old
);
}
}
...
...
@@ -376,7 +376,7 @@ static void CloseDecoder( vlc_object_t *p_this )
picture_t
*
p_image
=
p_dec
->
p_sys
->
p_image
;
if
(
p_image
!=
NULL
)
p
_image
->
pf_r
elease
(
p_image
);
p
icture_R
elease
(
p_image
);
vlc_mutex_destroy
(
&
p_dec
->
p_sys
->
lock
);
free
(
p_dec
->
p_sys
);
...
...
@@ -425,7 +425,7 @@ static int FakeCallback( vlc_object_t *p_this, char const *psz_var,
}
p_dec
->
p_sys
->
p_image
=
p_new_image
;
p
_image
->
pf_r
elease
(
p_image
);
p
icture_R
elease
(
p_image
);
vlc_mutex_unlock
(
&
p_dec
->
p_sys
->
lock
);
}
else
if
(
!
strcmp
(
psz_var
,
"fake-file-reload"
)
)
...
...
modules/codec/subtitles/subsdec.c
View file @
4e6bc360
...
...
@@ -298,7 +298,7 @@ static void CloseDecoder( vlc_object_t *p_this )
continue
;
if
(
p_sys
->
pp_images
[
i
]
->
p_pic
)
p
_sys
->
pp_images
[
i
]
->
p_pic
->
pf_r
elease
(
p_sys
->
pp_images
[
i
]
->
p_pic
);
p
icture_R
elease
(
p_sys
->
pp_images
[
i
]
->
p_pic
);
free
(
p_sys
->
pp_images
[
i
]
->
psz_filename
);
free
(
p_sys
->
pp_images
[
i
]
);
...
...
modules/codec/subtitles/subsusf.c
View file @
4e6bc360
...
...
@@ -161,7 +161,7 @@ static void CloseDecoder( vlc_object_t *p_this )
continue
;
if
(
p_sys
->
pp_images
[
i
]
->
p_pic
)
p
_sys
->
pp_images
[
i
]
->
p_pic
->
pf_release
(
p_sys
->
pp_images
[
i
]
->
p_pic
);
p
icture_Release
(
p_sys
->
pp_images
[
i
]
);
free
(
p_sys
->
pp_images
[
i
]
->
psz_filename
);
free
(
p_sys
->
pp_images
[
i
]
);
...
...
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