Commit 00c9323
committed
daalaenc: Remove the last parameter from daala_encode_packet_out()
It is very rare that applications know when the last frame is being
processed, and this information is exclusively used for OGG muxing.
Move the necessary OGG parameter outside the library to the example code,
and simplify checking encoder state a bit.1 parent 5773936 commit 00c9323
File tree
3 files changed
+7
-12
lines changed- examples
- include/daala
- src
3 files changed
+7
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
| 496 | + | |
497 | 497 | | |
498 | 498 | | |
499 | 499 | | |
| 500 | + | |
500 | 501 | | |
501 | 502 | | |
502 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 124 | | |
128 | 125 | | |
129 | 126 | | |
| |||
133 | 130 | | |
134 | 131 | | |
135 | 132 | | |
136 | | - | |
137 | | - | |
| 133 | + | |
138 | 134 | | |
139 | 135 | | |
140 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2657 | 2657 | | |
2658 | 2658 | | |
2659 | 2659 | | |
2660 | | - | |
2661 | 2660 | | |
2662 | 2661 | | |
2663 | 2662 | | |
| |||
2862 | 2861 | | |
2863 | 2862 | | |
2864 | 2863 | | |
2865 | | - | |
| 2864 | + | |
2866 | 2865 | | |
2867 | 2866 | | |
2868 | | - | |
| 2867 | + | |
2869 | 2868 | | |
2870 | 2869 | | |
2871 | 2870 | | |
2872 | 2871 | | |
2873 | 2872 | | |
2874 | 2873 | | |
2875 | 2874 | | |
2876 | | - | |
| 2875 | + | |
2877 | 2876 | | |
2878 | 2877 | | |
2879 | | - | |
2880 | | - | |
| 2878 | + | |
2881 | 2879 | | |
2882 | 2880 | | |
2883 | 2881 | | |
| |||
0 commit comments