mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 00:15:42 +00:00
Version 5.10.6: Fix build.
This commit is contained in:
@@ -2580,7 +2580,7 @@ void UpgradeBox(
|
|||||||
not_null<const style::icon*> icon) {
|
not_null<const style::icon*> icon) {
|
||||||
auto raw = container->add(
|
auto raw = container->add(
|
||||||
object_ptr<Ui::VerticalLayout>(container));
|
object_ptr<Ui::VerticalLayout>(container));
|
||||||
const auto widget = raw->add(
|
raw->add(
|
||||||
object_ptr<Ui::FlatLabel>(
|
object_ptr<Ui::FlatLabel>(
|
||||||
raw,
|
raw,
|
||||||
std::move(title) | Ui::Text::ToBold(),
|
std::move(title) | Ui::Text::ToBold(),
|
||||||
|
@@ -120,7 +120,6 @@ constexpr auto kFrameSize = 4096;
|
|||||||
outCodecContext->channel_layout = AV_CH_LAYOUT_STEREO;
|
outCodecContext->channel_layout = AV_CH_LAYOUT_STEREO;
|
||||||
}
|
}
|
||||||
#endif // DA_FFMPEG_NEW_CHANNEL_LAYOUT
|
#endif // DA_FFMPEG_NEW_CHANNEL_LAYOUT
|
||||||
const auto inrate = inCodecContext->sample_rate;
|
|
||||||
const auto rate = 44'100;
|
const auto rate = 44'100;
|
||||||
outCodecContext->sample_fmt = AV_SAMPLE_FMT_S16;
|
outCodecContext->sample_fmt = AV_SAMPLE_FMT_S16;
|
||||||
outCodecContext->time_base = AVRational{ 1, rate };
|
outCodecContext->time_base = AVRational{ 1, rate };
|
||||||
|
Reference in New Issue
Block a user