[Tizen-submit] 20968: Changes to Tizen:IVI/lightmediascanner

noreply at tizen.org noreply at tizen.org
Tue Feb 11 17:58:21 GMT 2014


Hi,
Leandro Dorileo have made the following changes to lightmediascanner in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #20968

  submit:       Tizen:IVI:build/lightmediascanner(cleanup) -> Tizen:IVI


Message:
Submitter: Leandro Dorileo <leandro.maciel.dorileo at intel.com>
Comments: upstream rebased
Git project: platform/upstream/lightmediascanner
Tag: submit/tizen/20140211.180051
Commit: 40cb3dc68a611c62c8dc8c67dc7cb5a74da39283 upstream rebase

State:   new        2014-02-11T18:00:12 tizenrobot
Comment: <no comment>
changes files:
--------------
--- lightmediascanner.changes
+++ lightmediascanner.changes
@@ -0,0 +1,3 @@
+* Tue Feb 11 2014 Leandro Dorileo <leandro.maciel.dorileo at intel.com>
+- upstream based
+

old:
----
  0132-Remove-.spec-from-.gitignore.patch

new:
----
  0132-generic-minimal-libav-adjustments.patch
  0133-Remove-.spec-from-.gitignore.patch

spec files:
-----------
--- lightmediascanner.spec
+++ lightmediascanner.spec
@@ -1,5 +1,5 @@
 Name:       lightmediascanner
-VCS:        platform/upstream/lightmediascanner#dcfc1a7952e566bbe8e9e0f0a64c6d2c6c6a9fee
+VCS:        platform/upstream/lightmediascanner#40cb3dc68a611c62c8dc8c67dc7cb5a74da39283
 Summary:    Light media scanner is a media indexer for embedded devices
 Version:    0.4.5
 Release:    2
@@ -138,7 +138,8 @@
 Patch128:0129-png-remove-all-the-dlna-stuff.patch
 Patch129:0130-wave-remove-the-dlna-stuffs-from-plugin.patch
 Patch130:0131-generic-remove-the-dlna-stuff-and-add-codec-containe.patch
-Patch131:0132-Remove-.spec-from-.gitignore.patch
+Patch131:0132-generic-minimal-libav-adjustments.patch
+Patch132:0133-Remove-.spec-from-.gitignore.patch
 Url:	    https://github.com/profusion/lightmediascanner
 BuildRequires: sqlite-devel
 BuildRequires: gettext-tools
@@ -435,8 +436,10 @@
 %patch129 -p1
 # 0131-generic-remove-the-dlna-stuff-and-add-codec-containe.patch
 %patch130 -p1
-# 0132-Remove-.spec-from-.gitignore.patch
+# 0132-generic-minimal-libav-adjustments.patch
 %patch131 -p1
+# 0133-Remove-.spec-from-.gitignore.patch
+%patch132 -p1
 
 %build
 

other changes:
--------------

++++++ 0132-generic-minimal-libav-adjustments.patch (new)
--- 0132-generic-minimal-libav-adjustments.patch
+++ 0132-generic-minimal-libav-adjustments.patch
@@ -0,0 +1,53 @@
+From: Leandro Dorileo <leandro.maciel.dorileo at intel.com>
+Date: Tue, 11 Feb 2014 15:26:51 -0200
+Subject: generic: minimal libav adjustments
+
+Since libav doesn't implement the avcodec_get_name() util function we
+need to implement the AVCodecDescriptor handling in our side.
+
+Libav will also need the AV_OPT_SEARCH_FAKE_OBJ flag to retrieve the
+ts_packetsize.
+---
+ src/plugins/generic/generic.c |   13 ++++++++-----
+ 1 files changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/src/plugins/generic/generic.c b/src/plugins/generic/generic.c
+index a7bd7e1..e453b67 100644
+--- a/src/plugins/generic/generic.c
++++ b/src/plugins/generic/generic.c
+@@ -172,11 +172,12 @@ _mp4_get_video_codec(AVStream *stream, struct lms_string_size *value)
+ static void
+ _mpeg2_get_video_codec(AVStream *stream, struct lms_string_size *value)
+ {
+-    const char *codec_name, *str_profile, *str_level;
++    const char *str_profile, *str_level;
++    const AVCodecDescriptor *codec;
+     char buf[256];
+ 
+-    codec_name = avcodec_get_name(stream->codec->codec_id);

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list