History

lavc: add a sample_aspect_ratio field to AVFrame

The sample aspect ratio is a per-frame property, so it makes sense to define it in AVFrame rather than in the codec/stream context. Simplify application-level sample aspect ratio information extraction, and allow further simplifications.

Stefano Sabatini committed 15 years ago

Commit 77e9dee1 parent 1ba572710 files · +28 −15Browse files

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

Unified · Split

libavfilter/vsrc_buffer.h+2−2
@@ -31,10 +31,10 @@ · 30 unmodified lines
3131 #include "avfilter.h"
3232
3333 int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,
34− int64_t pts, AVRational pixel_aspect);
34+ int64_t pts);
3535
3636 int av_vsrc_buffer_add_frame2(AVFilterContext *buffer_filter, AVFrame *frame,
37− int64_t pts, AVRational pixel_aspect, int width,
37+ int64_t pts, int width,
3838 int height, enum PixelFormat pix_fmt,
3939 const char *sws_param);
4040

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