History

Add sample_aspect_ratio to AVFilterLink

Michael Niedermayer committed 15 years ago

Commit 910b5b81 parent b7ec5cc4 files · +26 −2Browse files

Showing the changes to libavfilter/avfilter.h (1 of 4 files). Show all

Unified · Split

libavfilter/avfilter.h+3−2
@@ -27,7 +27,7 @@ · 26 unmodified lines
2727 #include "libavcore/samplefmt.h"
2828
2929 #define LIBAVFILTER_VERSION_MAJOR 1
30−#define LIBAVFILTER_VERSION_MINOR 75
30+#define LIBAVFILTER_VERSION_MINOR 76
3131 #define LIBAVFILTER_VERSION_MICRO 0
3232
3333 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
@@ -580,9 +580,10 @@ struct AVFilterLink { · 546 unmodified lines
580580
581581 enum AVMediaType type; ///< filter media type
582582
583− /* These two parameters apply only to video */
583+ /* These parameters apply only to video */
584584 int w; ///< agreed upon image width
585585 int h; ///< agreed upon image height
586+ AVRational sample_aspect_ratio; ///< agreed upon sample aspect ratio
586587 /* These two parameters apply only to audio */
587588 int64_t channel_layout; ///< channel layout of current buffer (see libavcore/audioconvert.h)
588589 int64_t sample_rate; ///< samples per second

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