Skip to content

Commit

Permalink
Scons update
Browse files Browse the repository at this point in the history
  • Loading branch information
voylin committed Nov 6, 2024
1 parent 38af93f commit 4c09ab1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ffmpeg_args += ' --disable-programs --disable-ffmpeg --disable-ffplay --disable-
ffmpeg_args += ' --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages'
ffmpeg_args += ' --quiet'
ffmpeg_args += ' --disable-sndio'
ffmpeg_args += ' --enable-libx264'
ffmpeg_args += f' --arch={arch}'


Expand Down
2 changes: 0 additions & 2 deletions src/video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,6 @@ void Video::_copy_frame_data() {
UtilityFunctions::printerr("Error transferring the frame to system memory!");
return;
}
UtilityFunctions::print(av_hw_frame->linesize[0]);
UtilityFunctions::print(av_hw_frame->linesize[1]);

memcpy(y_data.ptrw(), av_hw_frame->data[0], y_data.size());
memcpy(u_data.ptrw(), av_hw_frame->data[1], u_data.size());
Expand Down
1 change: 0 additions & 1 deletion test_room/addons/gde_gozen/video_playback.gd
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ func update_video(a_video: Video) -> void:
var l_image: Image = Image.create_empty(_resolution.x, _resolution.y, false, Image.FORMAT_L8)
texture_rect.texture.set_image(l_image)

print(video.get_padding())
_uv_resolution = Vector2i((_resolution.x + video.get_padding()) / 2, _resolution.y / 2)
if video.get_pixel_format().begins_with("yuv"):
_shader_material.shader = preload("res://addons/gde_gozen/shaders/yuv420p.gdshader")
Expand Down

0 comments on commit 4c09ab1

Please sign in to comment.