You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-05-21 16:47:28 +02:00
Separate video specific BufferRef properties into VideoProps.
Define a new struct AVFilterBufferRefVideoProps and add a type field to AVFilterBufferRef. Video specific properties in AVFilterBufferRefVideoProps are now referred to by *video pointer in AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram smeenaks->ucsd.edu. Originally committed as revision 24763 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Stefano Sabatini
parent
fd7b11d027
commit
cc80caff52
@@ -135,8 +135,8 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
|
||||
AVFilterBufferRef *ref2 = avfilter_ref_buffer(picref, ~0);
|
||||
int i;
|
||||
|
||||
ref2->w = crop->w;
|
||||
ref2->h = crop->h;
|
||||
picref->video->w = crop->w;
|
||||
picref->video->h = crop->h;
|
||||
|
||||
ref2->data[0] += crop->y * ref2->linesize[0];
|
||||
ref2->data[0] += (crop->x * crop->max_step[0]);
|
||||
|
||||
Reference in New Issue
Block a user