[SCM] mplayer/master.experimental: drop 01_switch-to-new-libbluray-api.patch which is upstream

ricotz-guest at users.alioth.debian.org ricotz-guest at users.alioth.debian.org
Tue Jan 3 21:15:07 UTC 2012


The following commit has been merged in the master.experimental branch:
commit fb630c0dea170fbea6610d8993d5ea4ff5f2de17
Author: Rico Tzschichholz <ricotz at t-online.de>
Date:   Tue Jan 3 19:30:13 2012 +0100

    drop 01_switch-to-new-libbluray-api.patch which is upstream

diff --git a/debian/patches/01_switch-to-new-libbluray-api.patch b/debian/patches/01_switch-to-new-libbluray-api.patch
deleted file mode 100644
index 62733b7..0000000
--- a/debian/patches/01_switch-to-new-libbluray-api.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 10efda3b37d9d8f08f097ce335b2f5b1c25dac72 Mon Sep 17 00:00:00 2001
-From: Rico Tzschichholz <ricotz at ubuntu.com>
-Date: Sun, 10 Jul 2011 08:21:35 +0000
-Subject: stream_bluray: switch to new libbluray API
-
-Switch to new libbluray API with three parameters to
-bd_get_title_info(). libbluray versions using the old API are no
-longer supported.
----
-Index: mplayer/configure
-===================================================================
---- mplayer.orig/configure
-+++ mplayer/configure
-@@ -5830,7 +5830,7 @@
- echocheck "Blu-ray support"
- if test "$_bluray" = auto ; then
-   _bluray=no
--  statement_check libbluray/bluray.h 'bd_get_title_info(0, 0)' -lbluray && _bluray=yes
-+  statement_check libbluray/bluray.h 'bd_get_title_info(0, 0, 0)' -lbluray && _bluray=yes
- fi
- if test "$_bluray" = yes ; then
-   def_bluray='#define CONFIG_LIBBLURAY 1'
-Index: mplayer/stream/stream_bluray.c
-===================================================================
---- mplayer.orig/stream/stream_bluray.c
-+++ mplayer/stream/stream_bluray.c
-@@ -116,7 +116,7 @@
-     case STREAM_CTRL_GET_NUM_CHAPTERS: {
-         BLURAY_TITLE_INFO *ti;
- 
--        ti = bd_get_title_info(b->bd, b->current_title);
-+        ti = bd_get_title_info(b->bd, b->current_title, b->current_angle);
-         if (!ti)
-             return STREAM_UNSUPPORTED;
- 
-@@ -137,7 +137,7 @@
-         int64_t pos;
-         int r;
- 
--        ti = bd_get_title_info(b->bd, b->current_title);
-+        ti = bd_get_title_info(b->bd, b->current_title, b->current_angle);
-         if (!ti)
-             return STREAM_UNSUPPORTED;
- 
-@@ -156,7 +156,7 @@
-     case STREAM_CTRL_GET_NUM_ANGLES: {
-         BLURAY_TITLE_INFO *ti;
- 
--        ti = bd_get_title_info(b->bd, b->current_title);
-+        ti = bd_get_title_info(b->bd, b->current_title, b->current_angle);
-         if (!ti)
-             return STREAM_UNSUPPORTED;
- 
-@@ -175,7 +175,7 @@
-         BLURAY_TITLE_INFO *ti;
-         int angle = *((int *) arg);
- 
--        ti = bd_get_title_info(b->bd, b->current_title);
-+        ti = bd_get_title_info(b->bd, b->current_title, b->current_angle);
-         if (!ti)
-             return STREAM_UNSUPPORTED;
- 
-@@ -236,7 +236,7 @@
-     }
- 
-     /* check for available titles on disc */
--    title_count = bd_get_titles(bd, TITLES_RELEVANT);
-+    title_count = bd_get_titles(bd, TITLES_RELEVANT, angle);
-     mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_BLURAY_TITLES=%d\n", title_count);
-     if (!title_count) {
-         mp_msg(MSGT_OPEN, MSGL_ERR, MSGTR_BlurayNoTitles);
-@@ -250,7 +250,7 @@
-         BLURAY_TITLE_INFO *ti;
-         int sec, msec;
- 
--        ti = bd_get_title_info(bd, i);
-+        ti = bd_get_title_info(bd, i, angle);
-         if (!ti)
-             continue;
- 
-@@ -284,7 +284,7 @@
-            "ID_BLURAY_CURRENT_TITLE=%d\n", title + 1);
- 
-     /* Get current title information */
--    info = bd_get_title_info(bd, title);
-+    info = bd_get_title_info(bd, title, angle);
-     if (!info)
-         goto err_no_info;
- 
diff --git a/debian/patches/series b/debian/patches/series
index 3d52005..456959d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1 @@
-01_switch-to-new-libbluray-api.patch
 23mplayer-debug-printf.patch

-- 
mplayer packaging



More information about the pkg-multimedia-commits mailing list