History

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

S.N. Hemanth Meenakshisundaram committed 16 years ago

Commit cc80caf1 parent fd7b11d10 files · +59 −42Browse files

Showing the changes to libavfilter/vsrc_buffer.c (1 of 10 files). Show all

Unified · Split

libavfilter/vsrc_buffer.c+4−4
@@ -122,10 +122,10 @@ static int request_frame(AVFilterLink *link) · 121 unmodified lines
122122 av_picture_copy((AVPicture *)&picref->data, (AVPicture *)&c->frame,
123123 picref->format, link->w, link->h);
124124
125− picref->pts = c->pts;
126− picref->pixel_aspect = c->pixel_aspect;
127− picref->interlaced = c->frame.interlaced_frame;
128− picref->top_field_first = c->frame.top_field_first;
125+ picref->pts = c->pts;
126+ picref->video->pixel_aspect = c->pixel_aspect;
127+ picref->video->interlaced = c->frame.interlaced_frame;
128+ picref->video->top_field_first = c->frame.top_field_first;
129129 avfilter_start_frame(link, avfilter_ref_buffer(picref, ~0));
130130 avfilter_draw_slice(link, 0, link->h, 1);
131131 avfilter_end_frame(link);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t