History

lavfi: add audio channel packing negotiation fields

Mina Nagy Zaki committed 15 years ago

Commit b57df291 parent 7bda0c96 files · +51 −3Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 6 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+5−1
@@ -203,8 +203,12 @@ static void pick_format(AVFilterLink *link) · 202 unmodified lines
203 link->channel_layout = link->in_chlayouts->formats[0];203 link->channel_layout = link->in_chlayouts->formats[0];
204 avfilter_formats_unref(&link->in_chlayouts);204 avfilter_formats_unref(&link->in_chlayouts);
205 avfilter_formats_unref(&link->out_chlayouts);205 avfilter_formats_unref(&link->out_chlayouts);
206 }
207 206
207 link->in_packing->format_count = 1;
208 link->planar = link->in_packing->formats[0] == AVFILTER_PLANAR;
209 avfilter_formats_unref(&link->in_packing);
210 avfilter_formats_unref(&link->out_packing);
211 }
208}212}
209 213
210static void pick_formats(AVFilterGraph *graph)214static void pick_formats(AVFilterGraph *graph)

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