Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC-Android
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Casanowow Life for love
VLC-Android
Commits
02170847
Commit
02170847
authored
May 12, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update patches
parent
1cf2e2e9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
19 deletions
+18
-19
compile.sh
compile.sh
+1
-1
patches/0001-android-threads-support.patch
patches/0001-android-threads-support.patch
+8
-9
patches/0002-Android-add-native-AudioTrack-aout-module.patch
patches/0002-Android-add-native-AudioTrack-aout-module.patch
+6
-6
patches/0003-libvlc-add-language-and-frame-rate-to-libvlc_media_t.patch
...ibvlc-add-language-and-frame-rate-to-libvlc_media_t.patch
+3
-3
No files found.
compile.sh
View file @
02170847
...
@@ -40,7 +40,7 @@ fi
...
@@ -40,7 +40,7 @@ fi
export
PATH
=
${
ANDROID_NDK
}
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:
${
PATH
}
export
PATH
=
${
ANDROID_NDK
}
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin:
${
PATH
}
# 1/ libvlc, libvlccore and its plugins
# 1/ libvlc, libvlccore and its plugins
TESTED_HASH
=
5069692bfb
TESTED_HASH
=
0ef62578e5b6
if
[
!
-d
"vlc"
]
;
then
if
[
!
-d
"vlc"
]
;
then
echo
"VLC source not found, cloning"
echo
"VLC source not found, cloning"
git clone git://git.videolan.org/vlc.git vlc
git clone git://git.videolan.org/vlc.git vlc
...
...
patches/0001-android-threads-support.patch
View file @
02170847
From
650f20450edb1a52a272afa046b2d2e5231b5594
Mon Sep 17 00:00:00 2001
From
c38b628323daa70fb5430530e56df4d7d44be6bb
Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org>
From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org>
Date: Sat, 10 Mar 2012 04:54:23 -0500
Date: Sat, 10 Mar 2012 04:54:23 -0500
Subject: [PATCH 1/3] android: threads support
Subject: [PATCH 1/3] android: threads support
...
@@ -32,9 +32,9 @@ are 100% shared with linux so it'd be useless to have 2 copies.
...
@@ -32,9 +32,9 @@ are 100% shared with linux so it'd be useless to have 2 copies.
---
---
include/vlc_threads.h | 13 +++
include/vlc_threads.h | 13 +++
lib/error.c | 10 ++
lib/error.c | 10 ++
src/Makefile.am | 1
7
++++
src/Makefile.am | 1
6
++++
src/posix/thread.c | 245 +++++++++++++++++++++++++++++++++++++++++++------
src/posix/thread.c | 245 +++++++++++++++++++++++++++++++++++++++++++------
4 files changed, 25
7
insertions(+), 28 deletions(-)
4 files changed, 25
6
insertions(+), 28 deletions(-)
diff --git a/include/vlc_threads.h b/include/vlc_threads.h
diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index ebf94e2..dad50b1 100644
index ebf94e2..dad50b1 100644
...
@@ -102,7 +102,7 @@ index d053faa..52840e8 100644
...
@@ -102,7 +102,7 @@ index d053faa..52840e8 100644
vlc_mutex_unlock (&lock);
vlc_mutex_unlock (&lock);
}
}
diff --git a/src/Makefile.am b/src/Makefile.am
diff --git a/src/Makefile.am b/src/Makefile.am
index
9ab1ca6..27bf38e
100644
index
d6d083e..4cf4aba
100644
--- a/src/Makefile.am
--- a/src/Makefile.am
+++ b/src/Makefile.am
+++ b/src/Makefile.am
@@ -195,6 +195,7 @@
libvlc_win32_rc.$(OBJEXT): libvlc_win32_rc.rc
@@ -195,6 +195,7 @@
libvlc_win32_rc.$(OBJEXT): libvlc_win32_rc.rc
...
@@ -131,13 +131,12 @@ index 9ab1ca6..27bf38e 100644
...
@@ -131,13 +131,12 @@ index 9ab1ca6..27bf38e 100644
if BUILD_HTTPD
if BUILD_HTTPD
libvlccore_la_SOURCES += $(SOURCES_libvlc_httpd)
libvlccore_la_SOURCES += $(SOURCES_libvlc_httpd)
endif
endif
@@ -24
7,6 +252,18
@@
SOURCES_libvlc_darwin = \
@@ -24
6,6 +251,17
@@
SOURCES_libvlc_darwin = \
posix/rand.c \
posix/rand.c \
$(NULL)
$(NULL)
+SOURCES_libvlc_android = \
+SOURCES_libvlc_android = \
+ posix/dirs.c \
+ posix/dirs.c \
+ misc/atomic.c \
+ posix/filesystem.c \
+ posix/filesystem.c \
+ posix/plugin.c \
+ posix/plugin.c \
+ posix/thread.c \
+ posix/thread.c \
...
@@ -149,9 +148,9 @@ index 9ab1ca6..27bf38e 100644
...
@@ -149,9 +148,9 @@ index 9ab1ca6..27bf38e 100644
+
+
SOURCES_libvlc_linux = \
SOURCES_libvlc_linux = \
posix/dirs.c \
posix/dirs.c \
misc/atomic
.c \
posix/filesystem
.c \
diff --git a/src/posix/thread.c b/src/posix/thread.c
diff --git a/src/posix/thread.c b/src/posix/thread.c
index
a7a4873..598c692
100644
index
138eac1..a208da0e
100644
--- a/src/posix/thread.c
--- a/src/posix/thread.c
+++ b/src/posix/thread.c
+++ b/src/posix/thread.c
@@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
...
@@ -537,5 +536,5 @@ index a7a4873..598c692 100644
...
@@ -537,5 +536,5 @@ index a7a4873..598c692 100644
#endif
#endif
}
}
--
--
1.7.
9.5
1.7.
10.2
patches/0002-Android-add-native-AudioTrack-aout-module.patch
View file @
02170847
From
e5fa715d70557610b376b34f069635af77e69492
Mon Sep 17 00:00:00 2001
From
a973c5d80a69311be1f8d4b426b23e9edcd9c1ce
Mon Sep 17 00:00:00 2001
From: Ming Hu <tewilove@gmail.com>
From: Ming Hu <tewilove@gmail.com>
Date: Sun, 29 Apr 2012 18:57:28 +0200
Date: Sun, 29 Apr 2012 18:57:28 +0200
Subject: [PATCH 2/3] Android: add native AudioTrack aout module
Subject: [PATCH 2/3] Android: add native AudioTrack aout module
...
@@ -7,11 +7,11 @@ Subject: [PATCH 2/3] Android: add native AudioTrack aout module
...
@@ -7,11 +7,11 @@ Subject: [PATCH 2/3] Android: add native AudioTrack aout module
configure.ac | 24 +++
configure.ac | 24 +++
modules/audio_output/Modules.am | 1 +
modules/audio_output/Modules.am | 1 +
modules/audio_output/audiotrack.c | 304 +++++++++++++++++++++++++++++++++++++
modules/audio_output/audiotrack.c | 304 +++++++++++++++++++++++++++++++++++++
3 files changed, 329 insertions(+)
, 0 deletions(-)
3 files changed, 329 insertions(+)
create mode 100644 modules/audio_output/audiotrack.c
create mode 100644 modules/audio_output/audiotrack.c
diff --git a/configure.ac b/configure.ac
diff --git a/configure.ac b/configure.ac
index
0b82490..291dfec
100644
index
62d13ad..08005d7
100644
--- a/configure.ac
--- a/configure.ac
+++ b/configure.ac
+++ b/configure.ac
@@ -3555,6 +3555,30 @@
if test "${HAVE_ANDROID}" = "1"; then
@@ -3555,6 +3555,30 @@
if test "${HAVE_ANDROID}" = "1"; then
...
@@ -59,7 +59,7 @@ index 357bc1d..c4b5a37 100644
...
@@ -59,7 +59,7 @@ index 357bc1d..c4b5a37 100644
libadummy_plugin_la_CFLAGS = $(AM_CFLAGS)
libadummy_plugin_la_CFLAGS = $(AM_CFLAGS)
diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
new file mode 100644
new file mode 100644
index 0000000..
5c4a0ce
index 0000000..
d20b138
--- /dev/null
--- /dev/null
+++ b/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -0,0 +1,304 @@
@@ -0,0 +1,304 @@
...
@@ -180,7 +180,7 @@ index 0000000..5c4a0ce
...
@@ -180,7 +180,7 @@ index 0000000..5c4a0ce
+vlc_module_begin ()
+vlc_module_begin ()
+ set_shortname("AudioTrack")
+ set_shortname("AudioTrack")
+ set_description(N_("Android AudioTrack audio output"))
+ set_description(N_("Android AudioTrack audio output"))
+ set_capability("audio output", 25)
+ set_capability("audio output", 2
2
5)
+ set_category(CAT_AUDIO)
+ set_category(CAT_AUDIO)
+ set_subcategory(SUBCAT_AUDIO_AOUT)
+ set_subcategory(SUBCAT_AUDIO_AOUT)
+ add_shortcut("android")
+ add_shortcut("android")
...
@@ -368,5 +368,5 @@ index 0000000..5c4a0ce
...
@@ -368,5 +368,5 @@ index 0000000..5c4a0ce
+}
+}
+
+
--
--
1.7.
5.4
1.7.
10.2
patches/0003-libvlc-add-language-and-frame-rate-to-libvlc_media_t.patch
View file @
02170847
From
313b27201aa4757678bfc995ea611e640294ab41
Mon Sep 17 00:00:00 2001
From
4519e40c6b16942e46b8d4da01b7f358cd21319a
Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Toque?= <xilasz@gmail.com>
From: =?UTF-8?q?S=C3=A9bastien=20Toque?= <xilasz@gmail.com>
Date: Sun, 22 Apr 2012 09:35:52 +0200
Date: Sun, 22 Apr 2012 09:35:52 +0200
Subject: [PATCH 3/3] libvlc: add language and frame rate to
Subject: [PATCH 3/3] libvlc: add language and frame rate to
...
@@ -7,7 +7,7 @@ Subject: [PATCH 3/3] libvlc: add language and frame rate to
...
@@ -7,7 +7,7 @@ Subject: [PATCH 3/3] libvlc: add language and frame rate to
---
---
include/vlc/libvlc_media.h | 14 ++++++++++++++
include/vlc/libvlc_media.h | 14 ++++++++++++++
lib/media.c | 15 +++++++++++++++
lib/media.c | 15 +++++++++++++++
2 files changed, 29 insertions(+)
, 0 deletions(-)
2 files changed, 29 insertions(+)
diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
diff --git a/include/vlc/libvlc_media.h b/include/vlc/libvlc_media.h
index 279a29c..d4b1524 100644
index 279a29c..d4b1524 100644
...
@@ -82,5 +82,5 @@ index 2c01c80..b3f5a9a 100644
...
@@ -82,5 +82,5 @@ index 2c01c80..b3f5a9a 100644
+ free( p_tracks );
+ free( p_tracks );
+}
+}
--
--
1.7.
5.4
1.7.
10.2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment