Skip to content

Commit

Permalink
Merge branch 'release/2021.2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Mar 31, 2021
2 parents 853ab56 + 58cfcb0 commit 73df0ff
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@

## develop

## 2021.2.3

- [UPDATE] cmake を 3.20.0 に上げる
- @melpon @voluntas
- [FIX] Jetson で HW エンコーダー指定時に、初期化タイミングによって、まれにセグフォが発生する問題を修正する
- @enm10k

## 2021.2.2

- [UPDATE] cmake を 3.19.6 に上げる
- @voluntas
- [UPDATE] `libwebrtc``M89.4389@{#7}` に上げる
Expand Down
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MOMO_VERSION=2021.2.2
MOMO_VERSION=2021.2.3
WEBRTC_BUILD_VERSION=89.4389.7.0
BOOST_VERSION=1.75.0
CLI11_VERSION=1.9.1
SDL2_VERSION=2.0.14
CMAKE_VERSION=3.19.6
CMAKE_VERSION=3.20.0
CUDA_VERSION=11.0.2-1
2 changes: 1 addition & 1 deletion build/raspberry-pi-os_armv6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ RUN git clone --branch v$CLI11_VERSION --depth 1 https://github.com/CLIUtils/CLI
# CMake のインストール
ARG CMAKE_VERSION
COPY script/get_cmake.sh /root/
RUN /root/get_cmake.sh "$CMAKE_VERSION" Linux /root
RUN /root/get_cmake.sh "$CMAKE_VERSION" linux /root
ENV PATH "/root/cmake/bin:$PATH"
2 changes: 1 addition & 1 deletion build/raspberry-pi-os_armv7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN git clone --branch v$CLI11_VERSION --depth 1 https://github.com/CLIUtils/CLI
# CMake のインストール
ARG CMAKE_VERSION
COPY script/get_cmake.sh /root/
RUN /root/get_cmake.sh "$CMAKE_VERSION" Linux /root
RUN /root/get_cmake.sh "$CMAKE_VERSION" linux /root
ENV PATH "/root/cmake/bin:$PATH"

# SDL2 のビルド
Expand Down
2 changes: 1 addition & 1 deletion build/raspberry-pi-os_armv8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ RUN git clone --branch v$CLI11_VERSION --depth 1 https://github.com/CLIUtils/CLI
# CMake のインストール
ARG CMAKE_VERSION
COPY script/get_cmake.sh /root/
RUN /root/get_cmake.sh "$CMAKE_VERSION" Linux /root
RUN /root/get_cmake.sh "$CMAKE_VERSION" linux /root
ENV PATH "/root/cmake/bin:$PATH"
2 changes: 1 addition & 1 deletion build/ubuntu-18.04_armv8_jetson_nano/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN git clone --branch v$CLI11_VERSION --depth 1 https://github.com/CLIUtils/CLI
# CMake のインストール
ARG CMAKE_VERSION
COPY script/get_cmake.sh /root/
RUN /root/get_cmake.sh "$CMAKE_VERSION" Linux /root
RUN /root/get_cmake.sh "$CMAKE_VERSION" linux /root
ENV PATH "/root/cmake/bin:$PATH"

# SDL2 のビルド
Expand Down
2 changes: 1 addition & 1 deletion build/ubuntu-18.04_armv8_jetson_xavier/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ RUN git clone --branch v$CLI11_VERSION --depth 1 https://github.com/CLIUtils/CLI
# CMake のインストール
ARG CMAKE_VERSION
COPY script/get_cmake.sh /root/
RUN /root/get_cmake.sh "$CMAKE_VERSION" Linux /root
RUN /root/get_cmake.sh "$CMAKE_VERSION" linux /root
ENV PATH "/root/cmake/bin:$PATH"

# SDL2 のビルド
Expand Down
2 changes: 1 addition & 1 deletion build/ubuntu-18.04_x86_64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ RUN git clone --branch v$CLI11_VERSION --depth 1 https://github.com/CLIUtils/CLI
# CMake のインストール
ARG CMAKE_VERSION
COPY script/get_cmake.sh /root/
RUN /root/get_cmake.sh "$CMAKE_VERSION" Linux /root
RUN /root/get_cmake.sh "$CMAKE_VERSION" linux /root
ENV PATH "/root/cmake/bin:$PATH"

# SDL2 のビルド
Expand Down
2 changes: 1 addition & 1 deletion build/ubuntu-20.04_x86_64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ RUN git clone --branch v$CLI11_VERSION --depth 1 https://github.com/CLIUtils/CLI
# CMake のインストール
ARG CMAKE_VERSION
COPY script/get_cmake.sh /root/
RUN /root/get_cmake.sh "$CMAKE_VERSION" Linux /root
RUN /root/get_cmake.sh "$CMAKE_VERSION" linux /root
ENV PATH "/root/cmake/bin:$PATH"

# SDL2 のビルド
Expand Down
7 changes: 7 additions & 0 deletions src/hwenc_jetson/jetson_video_encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,13 @@ int32_t JetsonVideoEncoder::SendFrame(unsigned char* buffer,
size_t size,
std::unique_ptr<FrameParams> params,
v4l2_ctrl_videoenc_outputbuf_metadata enc_metadata) {
if (!callback_) {
RTC_LOG(LS_WARNING)
<< "InitEncode() has been called, but a callback function "
<< "has not been set with RegisterEncodeCompleteCallback()";
return WEBRTC_VIDEO_CODEC_UNINITIALIZED;
}

encoded_image_.SetTimestamp(params->timestamp_rtp);
encoded_image_.SetColorSpace(params->color_space);
encoded_image_._encodedWidth = params->width;
Expand Down

0 comments on commit 73df0ff

Please sign in to comment.