mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 02:42:56 +02:00
handbrake: rebuild for x265-4.0.
This commit is contained in:
parent
fd442ef2ed
commit
00fd370f3c
2 changed files with 33 additions and 1 deletions
32
srcpkgs/handbrake/patches/x265-pic_out.patch
Normal file
32
srcpkgs/handbrake/patches/x265-pic_out.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
*** a/libhb/encx265.c 2024-06-21 01:12:14.000000000 -0400
|
||||
--- b/libhb/encx265.c 2025-05-31 21:50:54.619402956 -0400
|
||||
*************** static hb_buffer_t* x265_encode(hb_work_
|
||||
*** 778,781 ****
|
||||
save_frame_info(pv, in);
|
||||
!
|
||||
! ret = pv->api->encoder_encode(pv->x265, &nal, &nnal, &pic_in, &pic_out);
|
||||
|
||||
--- 778,781 ----
|
||||
save_frame_info(pv, in);
|
||||
! x265_picture *pic_out_ptr = &pic_out;
|
||||
! ret = pv->api->encoder_encode(pv->x265, &nal, &nnal, &pic_in, &pic_out_ptr);
|
||||
|
||||
*************** int encx265Work(hb_work_object_t *w, hb_
|
||||
*** 807,814 ****
|
||||
hb_buffer_list_clear(&list);
|
||||
!
|
||||
// flush delayed frames
|
||||
while (pv->api->encoder_encode(pv->x265, &nal,
|
||||
! &nnal, NULL, &pic_out) > 0)
|
||||
{
|
||||
! hb_buffer_t *buf = nal_encode(w, &pic_out, nal, nnal);
|
||||
hb_buffer_list_append(&list, buf);
|
||||
--- 807,814 ----
|
||||
hb_buffer_list_clear(&list);
|
||||
! x265_picture *pic_out_ptr = &pic_out;
|
||||
// flush delayed frames
|
||||
while (pv->api->encoder_encode(pv->x265, &nal,
|
||||
! &nnal, NULL, &pic_out_ptr) > 0)
|
||||
{
|
||||
! hb_buffer_t *buf = nal_encode(w, pic_out_ptr, nal, nnal);
|
||||
hb_buffer_list_append(&list, buf);
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'handbrake'
|
||||
pkgname=handbrake
|
||||
version=1.8.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--force --disable-df-fetch --harden
|
||||
$(vopt_enable fdk_aac fdk-aac) $(vopt_enable nvenc) $(vopt_enable qsv)"
|
||||
|
|
Loading…
Add table
Reference in a new issue