OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f234cd0
)
yadif must copy buffer properties like aspect for second frame as well
author
Joakim Plate
<elupus@ecce.se>
Thu, 14 Jul 2011 20:31:37 +0000
(22:31 +0200)
committer
Joakim Plate
<elupus@ecce.se>
Thu, 28 Jul 2011 01:47:53 +0000
(
03:47
+0200)
libavfilter/vf_yadif.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_yadif.c
b/libavfilter/vf_yadif.c
index
56e4489
..
6fc9f47
100644
(file)
--- a/
libavfilter/vf_yadif.c
+++ b/
libavfilter/vf_yadif.c
@@
-201,9
+201,12
@@
static void return_frame(AVFilterContext *ctx, int is_second)
tff = yadif->parity^1;
}
- if (is_second)
+ if (is_second)
{
yadif->out = avfilter_get_video_buffer(link, AV_PERM_WRITE | AV_PERM_PRESERVE |
AV_PERM_REUSE, link->w, link->h);
+ avfilter_copy_buffer_ref_props(yadif->out, yadif->cur);
+ yadif->out->video->interlaced = 0;
+ }
if (!yadif->csp)
yadif->csp = &av_pix_fmt_descriptors[link->format];