فهرست منبع

patches: add patch fixing variable content initialization for deinterlace and vbi which was refused upstream. This solves teletext subtitles decoding and deinterlacing in general (if requested)

Felix Paul Kühne 11 سال پیش
والد
کامیت
d3587067fd
1فایلهای تغییر یافته به همراه30 افزوده شده و 0 حذف شده
  1. 30 0
      MobileVLCKit/patches/0023-lib-media_player-inherit-deinterlace-and-vbi-variabl.patch

+ 30 - 0
MobileVLCKit/patches/0023-lib-media_player-inherit-deinterlace-and-vbi-variabl.patch

@@ -0,0 +1,30 @@
+From 9a996dfec6000dce657b582a4d86e99beb5b7aef Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
+Date: Thu, 21 Nov 2013 16:26:40 +0100
+Subject: [PATCH] lib/media_player: inherit deinterlace and vbi variables to
+ fix correct variables values on first use
+
+---
+ lib/media_player.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/media_player.c b/lib/media_player.c
+index 01ab243..064691f 100644
+--- a/lib/media_player.c
++++ b/lib/media_player.c
+@@ -410,10 +410,10 @@ libvlc_media_player_new( libvlc_instance_t *instance )
+     var_SetFloat (mp, "scale", 1.);
+     var_Create (mp, "aspect-ratio", VLC_VAR_STRING);
+     var_Create (mp, "crop", VLC_VAR_STRING);
+-    var_Create (mp, "deinterlace", VLC_VAR_INTEGER);
++    var_Create (mp, "deinterlace", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+     var_Create (mp, "deinterlace-mode", VLC_VAR_STRING);
+ 
+-    var_Create (mp, "vbi-page", VLC_VAR_INTEGER);
++    var_Create (mp, "vbi-page", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+ 
+     var_Create (mp, "marq-marquee", VLC_VAR_STRING);
+     var_Create (mp, "marq-color", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT);
+-- 
+1.8.3.4 (Apple Git-47)
+