Skip to content

Commit

Permalink
Limit libvpx frame size.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Aug 21, 2023
1 parent 2f9ae75 commit 05b628d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Telegram/build/docker/centos_env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ RUN git clone -b v1.11.0 --depth=1 {{ GIT }}/webmproject/libvpx.git \
--enable-vp8 \
--enable-vp9 \
--enable-webm-io \
--size-limit=4096x4096 \
&& make -j$(nproc) \
&& make DESTDIR="{{ LibrariesPath }}/libvpx-cache" install \
&& cd .. \
Expand Down
5 changes: 3 additions & 2 deletions Telegram/build/prepare/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def runStages():
stage('patches', """
git clone https://github.com/desktop-app/patches.git
cd patches
git checkout b9361e74b2
git checkout 24d8dc2bde
""")

stage('msys64', """
Expand Down Expand Up @@ -854,7 +854,8 @@ def runStages():
--disable-docs \
--enable-vp8 \
--enable-vp9 \
--enable-webm-io
--enable-webm-io \
--size-limit=4096x4096
make $MAKE_THREADS_CNT
Expand Down

0 comments on commit 05b628d

Please sign in to comment.