alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

560bb92d3ddaeb31d7af77d22d01b0050b45bebe.patch (1113B)


      1 From 560bb92d3ddaeb31d7af77d22d01b0050b45bebe Mon Sep 17 00:00:00 2001
      2 From: Scott Moreau <oreaus@gmail.com>
      3 Date: Tue, 8 Oct 2024 12:56:55 -0600
      4 Subject: [PATCH] frame-writer: Track ffmpeg changes (#279)
      5 
      6 * frame-writer: Track ffmpeg changes
      7 
      8 The frame_rate variable has been made private API.
      9 
     10 * frame-writer: Remove comment
     11 ---
     12  src/frame-writer.cpp | 2 +-
     13  1 file changed, 1 insertion(+), 1 deletion(-)
     14 
     15 diff --git a/src/frame-writer.cpp b/src/frame-writer.cpp
     16 index 2a5ba17..b8abe51 100644
     17 --- a/src/frame-writer.cpp
     18 +++ b/src/frame-writer.cpp
     19 @@ -371,7 +371,7 @@ void FrameWriter::init_video_filters(const AVCodec *codec)
     20      this->videoCodecCtx->height = filter_output->h;
     21      this->videoCodecCtx->pix_fmt = (AVPixelFormat)filter_output->format;
     22      this->videoCodecCtx->time_base = filter_output->time_base;
     23 -    this->videoCodecCtx->framerate = filter_output->frame_rate; // can be 1/0 if unknown
     24 +    this->videoCodecCtx->framerate = AVRational{1,0};
     25      this->videoCodecCtx->sample_aspect_ratio = filter_output->sample_aspect_ratio;
     26  
     27      this->hw_frame_context = av_buffersink_get_hw_frames_ctx(