[Android] [PATCH] disable MediaCodec with ".ts" files for all android versions
Jean-Baptiste Kempf
jb at videolan.org
Tue Jan 20 07:32:30 CET 2015
On 20 Jan, Martin Storsjö wrote :
> On Tue, 20 Jan 2015, Jean-Baptiste Kempf wrote:
>
> >On 19 Jan, Thomas Guillem wrote :
> >>---
> >> vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 ++--
> >> 1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >>diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
> >>index dd56f57..5d6410b 100644
> >>--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
> >>+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
> >>@@ -2339,9 +2339,9 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
> >> if(mLibVLC == null)
> >> return;
> >>
> >>- /* WARNING: hack to avoid a crash in mediacodec on KitKat.
> >>+ /* WARNING: hack to avoid a crash in mediacodec.
> >> * Disable hardware acceleration if the media has a ts extension. */
> >>- if (mLocation != null && LibVlcUtil.isKitKatOrLater()) {
> >>+ if (mLocation != null) {
> >
> >That is sad.
>
> Is this hack in order to avoid the issues with interlaced videos, or what
> was the actual issue here?
Yes.
With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the Android
mailing list