mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Iceweasel: fix video node name
This commit is contained in:
@@ -5,9 +5,9 @@ needs of both casual and power users."
|
||||
HOMEPAGE="https://github.com/kenz-gelsoft/gecko-dev"
|
||||
COPYRIGHT="1995-2025 Mozilla Developers and Contributors"
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/threedeyes/Gecko4Haiku/releases/download/$portVersion/Iceweasel-$portVersion.en-US.haiku-x86_64.tar.xz#noarchive"
|
||||
CHECKSUM_SHA256="0c859f628b3f253be02c2694c8a9660a0412e1a948a3cfaf5e93cd9b97bb4e38"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/threedeyes/Gecko4Haiku/releases/download/$portVersion/Iceweasel-$portVersion-2.en-US.haiku-x86_64.tar.xz#noarchive"
|
||||
CHECKSUM_SHA256="daa15c79adda3d415d804a416b9c68e9df6d99e660a0172f6ad73ca07af2f1bc"
|
||||
ADDITIONAL_FILES="iceweasel.rdef.in"
|
||||
|
||||
ARCHITECTURES="x86_64"
|
||||
@@ -49,7 +49,7 @@ BUILD_PREREQUIRES="
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
tar -xJf Iceweasel-$portVersion.en-US.haiku-x86_64.tar.xz -C $appsDir
|
||||
tar -xJf Iceweasel-$portVersion-2.en-US.haiku-x86_64.tar.xz -C $appsDir
|
||||
|
||||
# arranging the files in lib directories
|
||||
mkdir -p $appsDir/Iceweasel/lib
|
||||
|
||||
@@ -1368,7 +1368,7 @@ index 0000000..db30a02
|
||||
+ uint32_t rate;
|
||||
+ haiku_get_preferred_sample_rate(context, &rate);
|
||||
+
|
||||
+ stm->audio_capturer = new AudioCapture(haiku_audio_input_callback, stm, rate);
|
||||
+ stm->audio_capturer = new AudioCapture(haiku_audio_input_callback, stm, input_stream_params->rate);
|
||||
+ if (!stm->audio_capturer || stm->audio_capturer->Status() != B_OK) {
|
||||
+ fprintf(stderr, "Cubeb Haiku: Failed to initialize AudioCapture: %s\n", stm->audio_capturer ? strerror(stm->audio_capturer->Status()) : "alloc failed");
|
||||
+ goto init_error;
|
||||
@@ -3360,7 +3360,7 @@ index 0000000..29b319d
|
||||
+ if (fStatus != B_OK)
|
||||
+ return -1;
|
||||
+
|
||||
+ fVideoConsumer = new VideoConsumer("Floorp Browser", NULL, 0);
|
||||
+ fVideoConsumer = new VideoConsumer("Iceweasel", NULL, 0);
|
||||
+ fVideoConsumer->SetFrameCallback(MyFrameCallback, (void*)this);
|
||||
+
|
||||
+ dormant_node_info dni[30];
|
||||
|
||||
Reference in New Issue
Block a user