d3b6026bfd
- Filled empty libs/hbb_common/ submodule (cloned from rustdesk/hbb_common) - Patched Flutter 3.44 / Dart 3.12 compatibility: * flutter/lib/generated_bridge.dart: asTypedList with cast<>, DartPort=Int64 * flutter/lib/common.dart: DialogTheme->DialogThemeData, TabBarTheme->TabBarThemeData * flutter/pubspec.yaml: extended_text 14.0.0->15.0.2, google_fonts override 5.0.0 * flutter/macos/Runner/Configs/Release.xcconfig: EXCLUDED_ARCHS=x86_64 - Build verified: cargo check + cargo build --features flutter + cargo build --release --features flutter - Verified flutter build macos --debug and --release both produce working .app - Verified .dmg installer (27MB arm64) created via hdiutil - Build deps: Xcode 26.5, CocoaPods 1.16.2, Flutter 3.44, VCPKG arm64-osx
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
|
|
index cd7b0d941c..b4a6dce885 100644
|
|
--- a/libavformat/avformat.h
|
|
+++ b/libavformat/avformat.h
|
|
@@ -1169,7 +1169,11 @@ typedef struct AVStreamGroup {
|
|
} AVStreamGroup;
|
|
|
|
struct AVCodecParserContext *av_stream_get_parser(const AVStream *s);
|
|
|
|
+// Chromium: We use the internal field first_dts vvv
|
|
+int64_t av_stream_get_first_dts(const AVStream *st);
|
|
+// Chromium: We use the internal field first_dts ^^^
|
|
+
|
|
#define AV_PROGRAM_RUNNING 1
|
|
|
|
/**
|
|
diff --git a/libavformat/mux_utils.c b/libavformat/mux_utils.c
|
|
index de7580c32d..0ef0fe530e 100644
|
|
--- a/libavformat/mux_utils.c
|
|
+++ b/libavformat/mux_utils.c
|
|
@@ -29,7 +29,14 @@ #include "avformat.h"
|
|
#include "avio.h"
|
|
#include "internal.h"
|
|
#include "mux.h"
|
|
|
|
+// Chromium: We use the internal field first_dts vvv
|
|
+int64_t av_stream_get_first_dts(const AVStream *st)
|
|
+{
|
|
+ return cffstream(st)->first_dts;
|
|
+}
|
|
+// Chromium: We use the internal field first_dts ^^^
|
|
+
|
|
int avformat_query_codec(const AVOutputFormat *ofmt, enum AVCodecID codec_id,
|
|
int std_compliance)
|
|
{
|