[vlc-devel] vlc-devel Digest, Vol 95, Issue 12
vignesan
vignesanselvam at gmail.com
Fri Apr 10 14:50:47 CEST 2015
If vlc supports voice recognition means it will be more easy to use by controlling the player using our voice.
Tell me how to do it.
Sure I will do it.
-----Original Message-----
From: "vlc-devel-request at videolan.org" <vlc-devel-request at videolan.org>
Sent: 10-04-2015 03:30 PM
To: "vlc-devel at videolan.org" <vlc-devel at videolan.org>
Subject: vlc-devel Digest, Vol 95, Issue 12
Send vlc-devel mailing list submissions to
vlc-devel at videolan.org
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.videolan.org/listinfo/vlc-devel
or, via email, send a message with subject or body 'help' to
vlc-devel-request at videolan.org
You can reach the person managing the list at
vlc-devel-owner at videolan.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of vlc-devel digest..."
Today's Topics:
1. Re: [PATCH] contrib: fix URL for QT 4.8.5 (Jean-Baptiste Kempf)
2. Re: [vlc-commits] dvdnav: add Demux submodule
(Jean-Baptiste Kempf)
3. [PATCH] macosx: non-fullscreen video windows hide mouse
(Aleksandr Pasechnik)
4. [PATCH] contrib: flac: use -mstackrealign on win32
(Tristan Matthews)
5. Fix links to French TV icons (Mathieu Malaterre)
6. Re: [PATCH] contrib: flac: use -mstackrealign on win32
(Jean-Baptiste Kempf)
7. [PATCH 1/4] android_window: fix segfault if PictureAlloc
fails (Thomas Guillem)
8. [PATCH 4/4] android_window: add a fallback to SW subpicture
blending (Thomas Guillem)
9. [PATCH 3/4] android_window: setup surface from
AndroidWindow_New (Thomas Guillem)
10. [PATCH 2/4] android_window: move AndroidWindow_SetSurface up
(Thomas Guillem)
11. Re: [PATCH] [Android] Implement Scrobbling compatibility
(#11904) (Thomas Guillem)
12. Re: [PATCH] [Android] Implement Scrobbling compatibility
(#11904) (Guillaume)
13. Re: [PATCH] demux: ts: fix compilation on OS/2 (KO Myung-Hun)
----------------------------------------------------------------------
Message: 1
Date: Thu, 9 Apr 2015 17:33:55 +0200
From: Jean-Baptiste Kempf <jb at videolan.org>
To: Mailing list for VLC media player developers
<vlc-devel at videolan.org>
Subject: Re: [vlc-devel] [PATCH] contrib: fix URL for QT 4.8.5
Message-ID: <20150409153355.GA19948 at videolan.org>
Content-Type: text/plain; charset=us-ascii
On 08 Apr, Tristan Matthews wrote :
> It is now under "archive" instead of "official_releases"
LGTM.
With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
------------------------------
Message: 2
Date: Thu, 9 Apr 2015 17:40:49 +0200
From: Jean-Baptiste Kempf <jb at videolan.org>
To: vlc-devel at videolan.org
Subject: Re: [vlc-devel] [vlc-commits] dvdnav: add Demux submodule
Message-ID: <20150409154049.GA20086 at videolan.org>
Content-Type: text/plain; charset=us-ascii
Hello,
On 25 Mar, Thomas Guillem wrote :
> dvdnav: add Demux submodule
I'd like to backport this feature, with a priority of 0 (of course),
because I need it personally.
Any objections?
With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
------------------------------
Message: 3
Date: Thu, 9 Apr 2015 13:46:06 -0400
From: Aleksandr Pasechnik <al at megamicron.net>
To: vlc-devel at videolan.org
Cc: Aleksandr Pasechnik <al at megamicron.net>
Subject: [vlc-devel] [PATCH] macosx: non-fullscreen video windows hide
mouse
Message-ID: <1428601566-2766-1-git-send-email-al at megamicron.net>
Allow the mouse cursor to be hidden in regular active video windws, in addition
to fullscreen videos.
---
modules/gui/macosx/Windows.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 331da61..89d7031 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -638,7 +638,7 @@
// Called automatically if window's acceptsMouseMovedEvents property is true
- (void)mouseMoved:(NSEvent *)theEvent
{
- if (b_fullscreen)
+ if (b_fullscreen || (b_has_active_video && [self isKeyWindow]))
[self recreateHideMouseTimer];
[super mouseMoved: theEvent];
--
2.3.5
------------------------------
Message: 4
Date: Fri, 10 Apr 2015 00:40:32 -0400
From: Tristan Matthews <tmatth at videolan.org>
To: vlc-devel at videolan.org
Subject: [vlc-devel] [PATCH] contrib: flac: use -mstackrealign on
win32
Message-ID: <1428640832-19266-1-git-send-email-tmatth at videolan.org>
Fixes #14104
---
contrib/src/flac/rules.mak | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/contrib/src/flac/rules.mak b/contrib/src/flac/rules.mak
index 7e5ad72..53cf8e0 100644
--- a/contrib/src/flac/rules.mak
+++ b/contrib/src/flac/rules.mak
@@ -42,10 +42,15 @@ FLACCONF += --disable-asm-optimizations
endif
endif
+FLAC_CFLAGS := $(CFLAGS)
+ifdef HAVE_WIN32
+FLAC_CFLAGS += -mstackrealign
+endif
+
DEPS_flac = ogg $(DEPS_ogg)
.flac: flac
- cd $< && $(HOSTVARS) ./configure $(FLACCONF)
+ cd $< && $(HOSTVARS) CFLAGS="$(FLAC_CFLAGS)" ./configure $(FLACCONF)
cd $</include && $(MAKE) install
cd $</src && $(MAKE) -C share install && $(MAKE) -C libFLAC install
touch $@
--
2.1.4
------------------------------
Message: 5
Date: Fri, 10 Apr 2015 08:54:01 +0200
From: Mathieu Malaterre <malat at debian.org>
To: vlc-devel at videolan.org, 782229 at bugs.debian.org
Subject: [vlc-devel] Fix links to French TV icons
Message-ID:
<CA+7wUsyarrFFdNYTHU1S8bn8LqzMCcidvwAofkrfh_CaYv8r1g at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Control: forwarded -1 vlc-devel at videolan.org
Hi,
Some links pointing to TV icons were broken. Attached patch fixes that.
Original report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782229
Typical output:
[0x1e2ba18] access_http access error: error: HTTP/1.1 404 Not Found
[0x1e2ba18] access_http access error: error: HTTP/1.1 404 Not Found
[0x1e2ba18] access_mms access error: error: HTTP/1.1 403 Requested
target domain not allowed.
[0x1b3f7a8] main playlist error: no suitable access module for
`http://upload.wikimedia.org/wikipedia/fr/4/4b/Logo_de_TMC.gif'
[0x1e3fbc8] access_http access error: error: HTTP/1.1 404 Not Found
[0x1e3fbc8] access_http access error: error: HTTP/1.1 404 Not Found
[0x1e3fbc8] access_mms access error: error: HTTP/1.1 403 Requested
target domain not allowed.
[0x1b3f7a8] main playlist error: no suitable access module for
`http://upload.wikimedia.org/wikipedia/fr/4/4b/Logo_de_TMC.gif'
[0x4b52bc8] access_http access error: error: HTTP/1.1 404 Not Found
[0x4b52bc8] access_http access error: error: HTTP/1.1 404 Not Found
[0x4b52bc8] access_mms access error: error: HTTP/1.1 403 Requested
target domain not allowed.
[0x1b3f7a8] main playlist error: no suitable access module for
`http://upload.wikimedia.org/wikipedia/fr/9/98/Public-Senat-LCP-An_logo_2010.png'
[0x7fd8cc0133e8] access_http access error: error: HTTP/1.1 404 Not Found
[0x7fd8cc0133e8] access_http access error: error: HTTP/1.1 404 Not Found
[0x7fd8cc0133e8] access_mms access error: error: HTTP/1.1 403
Requested target domain not allowed.
[0x1b3f7a8] main playlist error: no suitable access module for
`http://upload.wikimedia.org/wikipedia/fr/9/98/Public-Senat-LCP-An_logo_2010.png'
[0x3567038] access_http access error: error: HTTP/1.1 404 Not Found
[0x3567038] access_http access error: error: HTTP/1.1 404 Not Found
[0x3567038] access_mms access error: error: HTTP/1.1 403 Requested
target domain not allowed.
[0x1b3f7a8] main playlist error: no suitable access module for
`http://upload.wikimedia.org/wikipedia/fr/3/30/Bfm_tv.jpg'
[0x1ba7748] access_http access error: error: HTTP/1.1 404 Not Found
[0x1ba7748] access_http access error: error: HTTP/1.1 404 Not Found
[0x1ba7748] access_mms access error: error: HTTP/1.1 403 Requested
target domain not allowed.
[0x1b3f7a8] main playlist error: no suitable access module for
`http://upload.wikimedia.org/wikipedia/fr/3/30/Bfm_tv.jpg'
[0x1ba7748] access_http access error: error: HTTP/1.1 404 Not Found
[0x1ba7748] access_http access error: error: HTTP/1.1 404 Not Found
[0x1ba7748] access_mms access error: error: HTTP/1.1 403 Requested
target domain not allowed.
[0x1b3f7a8] main playlist error: no suitable access module for
`http://upload.wikimedia.org/wikipedia/fr/3/30/Bfm_tv.jpg'
[0x1ba7748] access_http access error: error: HTTP/1.1 404 Not Found
[0x1ba7748] access_http access error: error: HTTP/1.1 404 Not Found
[0x1ba7748] access_mms access error: error: HTTP/1.1 403 Requested
target domain not allowed.
[0x1b3f7a8] main playlist error: no suitable access module for
`http://upload.wikimedia.org/wikipedia/fr/5/56/Logo_I_tele.png'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: frenchtv.patch
Type: text/x-patch
Size: 1315 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150410/9f984d9c/attachment-0001.bin>
------------------------------
Message: 6
Date: Fri, 10 Apr 2015 09:41:41 +0200
From: Jean-Baptiste Kempf <jb at videolan.org>
To: Mailing list for VLC media player developers
<vlc-devel at videolan.org>
Subject: Re: [vlc-devel] [PATCH] contrib: flac: use -mstackrealign on
win32
Message-ID: <20150410074141.GA2828 at videolan.org>
Content-Type: text/plain; charset=us-ascii
Ship it.
On 10 Apr, Tristan Matthews wrote :
> Fixes #14104
> ---
> contrib/src/flac/rules.mak | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/contrib/src/flac/rules.mak b/contrib/src/flac/rules.mak
> index 7e5ad72..53cf8e0 100644
> --- a/contrib/src/flac/rules.mak
> +++ b/contrib/src/flac/rules.mak
> @@ -42,10 +42,15 @@ FLACCONF += --disable-asm-optimizations
> endif
> endif
>
> +FLAC_CFLAGS := $(CFLAGS)
> +ifdef HAVE_WIN32
> +FLAC_CFLAGS += -mstackrealign
> +endif
> +
> DEPS_flac = ogg $(DEPS_ogg)
>
> .flac: flac
> - cd $< && $(HOSTVARS) ./configure $(FLACCONF)
> + cd $< && $(HOSTVARS) CFLAGS="$(FLAC_CFLAGS)" ./configure $(FLACCONF)
> cd $</include && $(MAKE) install
> cd $</src && $(MAKE) -C share install && $(MAKE) -C libFLAC install
> touch $@
> --
> 2.1.4
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
--
With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
------------------------------
Message: 7
Date: Fri, 10 Apr 2015 09:52:02 +0200
From: Thomas Guillem <thomas at gllm.fr>
To: vlc-devel at videolan.org
Subject: [vlc-devel] [PATCH 1/4] android_window: fix segfault if
PictureAlloc fails
Message-ID: <1428652325-9462-1-git-send-email-thomas at gllm.fr>
---
modules/video_output/android/android_window.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/android/android_window.c b/modules/video_output/android/android_window.c
index f17bb0d..406058f 100644
--- a/modules/video_output/android/android_window.c
+++ b/modules/video_output/android/android_window.c
@@ -996,7 +996,7 @@ static void Prepare(vout_display_t *vd, picture_t *picture,
if (!sys->p_sub_pic && SetupWindowSubtitleSurface(sys) == 0)
sys->p_sub_pic = PictureAlloc(sys, &sys->p_sub_window->fmt);
- if (!sys->p_spu_blend)
+ if (!sys->p_spu_blend && sys->p_sub_pic)
sys->p_spu_blend = filter_NewBlend(VLC_OBJECT(vd),
&sys->p_sub_pic->format);
--
2.1.3
------------------------------
Message: 8
Date: Fri, 10 Apr 2015 09:52:05 +0200
From: Thomas Guillem <thomas at gllm.fr>
To: vlc-devel at videolan.org
Subject: [vlc-devel] [PATCH 4/4] android_window: add a fallback to SW
subpicture blending
Message-ID: <1428652325-9462-4-git-send-email-thomas at gllm.fr>
Fallback to SW subpicture blending if there is no subtitle surfaces.
---
modules/video_output/android/android_window.c | 38 ++++++++++++++++-----------
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/modules/video_output/android/android_window.c b/modules/video_output/android/android_window.c
index 9adc4fa..a1de1d6 100644
--- a/modules/video_output/android/android_window.c
+++ b/modules/video_output/android/android_window.c
@@ -190,13 +190,17 @@ static picture_t *PictureAlloc(vout_display_sys_t *sys, video_format_t *fmt)
static void FixSubtitleFormat(vout_display_sys_t *sys)
{
- video_format_t *p_subfmt = &sys->p_sub_window->fmt;
+ video_format_t *p_subfmt;
video_format_t fmt;
int i_width, i_height;
int i_video_width, i_video_height;
int i_display_width, i_display_height;
double aspect;
+ if (!sys->p_sub_window)
+ return;
+ p_subfmt = &sys->p_sub_window->fmt;
+
video_format_ApplyRotation(&fmt, &sys->p_window->fmt);
if (fmt.i_visible_width == 0 || fmt.i_visible_height == 0) {
@@ -688,21 +692,23 @@ static int Open(vlc_object_t *p_this)
(sys->p_window->b_use_priv ? "ANWP" : "ANW"));
jsurf = jni_LockAndGetSubtitlesSurface();
- if (!jsurf)
- goto error;
- video_format_ApplyRotation(&sub_fmt, &vd->fmt);
- sub_fmt.i_chroma = subpicture_chromas[0];
- SetRGBMask(&sub_fmt);
- video_format_FixRgb(&sub_fmt);
- sys->p_sub_window = AndroidWindow_New(sys, &sub_fmt, jsurf, false);
- jni_UnlockAndroidSurface();
- if (!sys->p_sub_window)
- goto error;
- FixSubtitleFormat(sys);
- sys->i_sub_last_order = -1;
+ if (jsurf) {
+ video_format_ApplyRotation(&sub_fmt, &vd->fmt);
+ sub_fmt.i_chroma = subpicture_chromas[0];
+ SetRGBMask(&sub_fmt);
+ video_format_FixRgb(&sub_fmt);
+
+ sys->p_sub_window = AndroidWindow_New(sys, &sub_fmt, jsurf, false);
+ jni_UnlockAndroidSurface();
+ if (!sys->p_sub_window)
+ goto error;
+
+ FixSubtitleFormat(sys);
+ sys->i_sub_last_order = -1;
- /* Export the subpicture capability of this vout. */
- vd->info.subpicture_chromas = subpicture_chromas;
+ /* Export the subpicture capability of this vout. */
+ vd->info.subpicture_chromas = subpicture_chromas;
+ }
/* Setup vout_display */
vd->pool = Pool;
@@ -971,7 +977,7 @@ static void Prepare(vout_display_t *vd, picture_t *picture,
SendEventDisplaySize(vd);
- if (subpicture) {
+ if (subpicture && sys->p_sub_window) {
if (sys->b_sub_invalid) {
sys->b_sub_invalid = false;
if (sys->p_sub_pic) {
--
2.1.3
------------------------------
Message: 9
Date: Fri, 10 Apr 2015 09:52:04 +0200
From: Thomas Guillem <thomas at gllm.fr>
To: vlc-devel at videolan.org
Subject: [vlc-devel] [PATCH 3/4] android_window: setup surface from
AndroidWindow_New
Message-ID: <1428652325-9462-3-git-send-email-thomas at gllm.fr>
---
modules/video_output/android/android_window.c | 51 ++++++++++++---------------
1 file changed, 22 insertions(+), 29 deletions(-)
diff --git a/modules/video_output/android/android_window.c b/modules/video_output/android/android_window.c
index 312e02e..9adc4fa 100644
--- a/modules/video_output/android/android_window.c
+++ b/modules/video_output/android/android_window.c
@@ -317,6 +317,7 @@ static int AndroidWindow_SetSurface(vout_display_sys_t *sys,
static android_window *AndroidWindow_New(vout_display_sys_t *sys,
video_format_t *p_fmt,
+ jobject jsurf,
bool b_use_priv)
{
android_window *p_window = calloc(1, sizeof(android_window));
@@ -354,6 +355,12 @@ static android_window *AndroidWindow_New(vout_display_sys_t *sys,
else
video_format_ApplyRotation(&p_window->fmt, p_fmt);
p_window->i_pic_count = 1;
+
+ if (AndroidWindow_SetSurface(sys, p_window, jsurf) != 0) {
+ free(p_window);
+ return NULL;
+ }
+
return p_window;
}
@@ -573,30 +580,6 @@ static int AndroidWindow_LockPicture(vout_display_sys_t *sys,
return 0;
}
-static int SetupWindowSurface(vout_display_sys_t *sys, unsigned i_pic_count)
-{
- int err;
- jobject jsurf = jni_LockAndGetAndroidJavaSurface();
- if (!jsurf)
- return -1;
- err = AndroidWindow_SetSurface(sys, sys->p_window, jsurf);
- jni_UnlockAndroidSurface();
- err = err == 0 ? AndroidWindow_Setup(sys, sys->p_window, i_pic_count) : err;
- return err;
-}
-
-static int SetupWindowSubtitleSurface(vout_display_sys_t *sys)
-{
- int err;
- jobject jsurf = jni_LockAndGetSubtitlesSurface();
- if (!jsurf)
- return -1;
- err = AndroidWindow_SetSurface(sys, sys->p_sub_window, jsurf);
- jni_UnlockAndroidSurface();
- err = err == 0 ? AndroidWindow_Setup(sys, sys->p_sub_window, 1) : err;
- return err;
-}
-
static void SetRGBMask(video_format_t *p_fmt)
{
switch(p_fmt->i_chroma) {
@@ -633,6 +616,7 @@ static int Open(vlc_object_t *p_this)
vout_display_t *vd = (vout_display_t*)p_this;
vout_display_sys_t *sys;
video_format_t sub_fmt;
+ jobject jsurf;
if (vout_display_IsWindowed(vd))
return VLC_EGENERIC;
@@ -685,11 +669,15 @@ static int Open(vlc_object_t *p_this)
}
}
- sys->p_window = AndroidWindow_New(sys, &vd->fmt, true);
+ jsurf = jni_LockAndGetAndroidJavaSurface();
+ if (!jsurf)
+ goto error;
+ sys->p_window = AndroidWindow_New(sys, &vd->fmt, jsurf, true);
+ jni_UnlockAndroidSurface();
if (!sys->p_window)
goto error;
- if (SetupWindowSurface(sys, 0) != 0)
+ if (AndroidWindow_Setup(sys, sys->p_window, 0) != 0)
goto error;
/* use software rotation if we don't use private anw */
@@ -699,11 +687,15 @@ static int Open(vlc_object_t *p_this)
msg_Dbg(vd, "using %s", sys->p_window->b_opaque ? "opaque" :
(sys->p_window->b_use_priv ? "ANWP" : "ANW"));
+ jsurf = jni_LockAndGetSubtitlesSurface();
+ if (!jsurf)
+ goto error;
video_format_ApplyRotation(&sub_fmt, &vd->fmt);
sub_fmt.i_chroma = subpicture_chromas[0];
SetRGBMask(&sub_fmt);
video_format_FixRgb(&sub_fmt);
- sys->p_sub_window = AndroidWindow_New(sys, &sub_fmt, false);
+ sys->p_sub_window = AndroidWindow_New(sys, &sub_fmt, jsurf, false);
+ jni_UnlockAndroidSurface();
if (!sys->p_sub_window)
goto error;
FixSubtitleFormat(sys);
@@ -805,7 +797,7 @@ static picture_pool_t *PoolAlloc(vout_display_t *vd, unsigned requested_count)
unsigned int i = 0;
msg_Dbg(vd, "PoolAlloc: request %d frames", requested_count);
- if (SetupWindowSurface(sys, requested_count) != 0)
+ if (AndroidWindow_Setup(sys, sys->p_window, requested_count) != 0)
goto error;
requested_count = sys->p_window->i_pic_count;
@@ -994,7 +986,8 @@ static void Prepare(vout_display_t *vd, picture_t *picture,
sys->p_sub_buffer_bounds = NULL;
}
- if (!sys->p_sub_pic && SetupWindowSubtitleSurface(sys) == 0)
+ if (!sys->p_sub_pic
+ && AndroidWindow_Setup(sys, sys->p_sub_window, 1) == 0)
sys->p_sub_pic = PictureAlloc(sys, &sys->p_sub_window->fmt);
if (!sys->p_spu_blend && sys->p_sub_pic)
sys->p_spu_blend = filter_NewBlend(VLC_OBJECT(vd),
--
2.1.3
------------------------------
Message: 10
Date: Fri, 10 Apr 2015 09:52:03 +0200
From: Thomas Guillem <thomas at gllm.fr>
To: vlc-devel at videolan.org
Subject: [vlc-devel] [PATCH 2/4] android_window: move
AndroidWindow_SetSurface up
Message-ID: <1428652325-9462-2-git-send-email-thomas at gllm.fr>
---
modules/video_output/android/android_window.c | 62 +++++++++++++--------------
1 file changed, 31 insertions(+), 31 deletions(-)
diff --git a/modules/video_output/android/android_window.c b/modules/video_output/android/android_window.c
index 406058f..312e02e 100644
--- a/modules/video_output/android/android_window.c
+++ b/modules/video_output/android/android_window.c
@@ -284,6 +284,37 @@ static void SetupPictureYV12(picture_t *p_picture, uint32_t i_in_stride)
}
}
+static int AndroidWindow_SetSurface(vout_display_sys_t *sys,
+ android_window *p_window,
+
[The entire original message is not included.]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150410/89bcc08f/attachment.html>
More information about the vlc-devel
mailing list