From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 ...1-util-demux-update-use-of-deprecated-API.patch | 38 ++++++++++++++++++++++
 .../omapdrmtest/omapdrmtest_1.0.0.bb               |  8 +++--
 2 files changed, 43 insertions(+), 3 deletions(-)
 create mode 100644 
meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest/0001-util-demux-update-use-of-deprecated-API.patch

diff --git 
a/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest/0001-util-demux-update-use-of-deprecated-API.patch
 
b/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest/0001-util-demux-update-use-of-deprecated-API.patch
new file mode 100644
index 0000000..ca3c431
--- /dev/null
+++ 
b/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest/0001-util-demux-update-use-of-deprecated-API.patch
@@ -0,0 +1,38 @@
+From 7e3a5727e020ea05702d0d1d819409619c7980c1 Mon Sep 17 00:00:00 2001
+From: Denys Dmytriyenko <[email protected]>
+Date: Fri, 21 Aug 2015 13:51:20 -0400
+Subject: [PATCH] util/demux: update use of deprecated API
+
+Signed-off-by: Denys Dmytriyenko <[email protected]>
+---
+ util/demux.c | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/util/demux.c b/util/demux.c
+index fdd4b77..722fed7 100644
+--- a/util/demux.c
++++ b/util/demux.c
+@@ -46,17 +46,17 @@ static AVFormatContext *
+ open_file(const char *filename)
+ {
+       AVFormatContext *afc;
+-      int err = av_open_input_file(&afc, filename, NULL, 0, NULL);
++      int err = avformat_open_input(&afc, filename, NULL, NULL);
+ 
+       if (!err)
+-              err = av_find_stream_info(afc);
++              err = avformat_find_stream_info(afc, NULL);
+ 
+       if (err < 0) {
+               ERROR("%s: lavf error %d", filename, err);
+               exit(1);
+       }
+ 
+-      dump_format(afc, 0, filename, 0);
++      av_dump_format(afc, 0, filename, 0);
+ 
+       return afc;
+ }
+-- 
+2.2.0
+
diff --git 
a/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb 
b/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb
index 5ed1783..5a850f7 100644
--- a/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb
+++ b/meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb
@@ -6,10 +6,12 @@ DEPENDS += "libav libdce libdrm libgbm omap5-sgx-ddk-um-linux 
wayland"
 
 inherit autotools pkgconfig
 
-PR = "r7"
-SRCREV = "a2f483ef833ce7a6f3e0b975d9e49267960b288e"
+PR = "r8"
+SRCREV = "24db635c4689291ae350d0c940b30ba7203dc5b7"
 
-SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git"
+SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \
+       file://0001-util-demux-update-use-of-deprecated-API.patch \
+"
 
 S = "${WORKDIR}/git"
 
-- 
2.2.0

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to