[Tizen-submit] 8107: Changes to Tizen/gst-plugins-good

noreply at tizen.org noreply at tizen.org
Mon Aug 12 03:11:02 GMT 2013


Hi,
Yan Yin have made the following changes to gst-plugins-good in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #8107

  submit:       Tizen:build/gst-plugins-good(cleanup) -> Tizen


Message:
Submitter: Yan Yin <yan.yin at intel.com>
Comments: cherry-pick upstream commit for pngdec to fix TIVI-1480
Git project: platform/upstream/gst-plugins-good
Tag: submit/tizen/20130812.031142
Commit: a1988cfe21bfc8df4962101e8401434224880058 pngdec: Implement parsing functionality

State:   new        2013-08-11T20:07:43 tizenrobot
Comment: <no comment>
changes files:
--------------

new:
----
  0002-pngdec-Implement-parsing-functionality.patch

spec files:
-----------
--- gst-plugins-good.spec
+++ gst-plugins-good.spec
@@ -1,7 +1,7 @@
 Name:           gst-plugins-good
 Version:        1.0.7
 Release:        0
-VCS:            platform/upstream/gst-plugins-good#submit/tizen/20130719.204312-0-gd19c0d6cdc044a253454598702f9928213c1af8e
+VCS:            platform/upstream/gst-plugins-good#submit/tizen/20130812.031142-0-ga1988cfe21bfc8df4962101e8401434224880058
 License:        LGPL-2.1+
 %define gst_branch 1.0
 Summary:        GStreamer Streaming-Media Framework Plug-Ins
@@ -11,6 +11,7 @@
 Source1001: 	gst-plugins-good.manifest
 # Patches auto-generated by git-buildpackage:
 Patch0:         0001-Make-pulsesink-autostart-pulseaudio-if-needed.patch
+Patch1:         0002-pngdec-Implement-parsing-functionality.patch
 BuildRequires:  gst-common
 BuildRequires:  gcc-c++
 BuildRequires:  gettext-tools
@@ -66,6 +67,8 @@
 %setup -q
 # 0001-Make-pulsesink-autostart-pulseaudio-if-needed.patch
 %patch0 -p1
+# 0002-pngdec-Implement-parsing-functionality.patch
+%patch1 -p1
 cp %{SOURCE1001} .
 rm -rf common
 cp -a %{_datadir}/gst-common common

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

++++++ 0002-pngdec-Implement-parsing-functionality.patch (new)
--- 0002-pngdec-Implement-parsing-functionality.patch
+++ 0002-pngdec-Implement-parsing-functionality.patch
@@ -0,0 +1,176 @@
+From: =?utf-8?q?Sebastian_Dr=C3=B6ge?= <sebastian.droege at collabora.co.uk>
+Date: Tue, 7 May 2013 16:30:59 +0200
+Subject: pngdec: Implement parsing functionality
+
+This allows to plug pngdec directly without a parser if that
+is desired.
+
+Parsing code is based on pngparse.
+---
+ ext/libpng/gstpngdec.c |  106 ++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 files changed, 106 insertions(+), 0 deletions(-)
+
+diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c
+index 4bab97f..3d16a94 100644
+--- a/ext/libpng/gstpngdec.c
++++ b/ext/libpng/gstpngdec.c
+@@ -2,6 +2,9 @@
+  * Copyright (C) <1999> Erik Walthinsen <omega at cse.ogi.edu>
+  * Copyright (C) 2012 Collabora Ltd.
+  *	Author : Edward Hervey <edward at collabora.com>
++ * Copyright (C) 2013 Collabora Ltd.
++ *	Author : Sebastian Dröge <sebastian.droege at collabora.co.uk>
++ *	         Olivier Crete <olivier.crete at collabora.com>
+  *
+  * This library is distributed in the hope that it will be useful,
+  * but WITHOUT ANY WARRANTY; without even the implied warranty of
+@@ -29,6 +32,7 @@
+ 
+ #include <stdlib.h>
+ #include <string.h>
++#include <gst/base/gstbytereader.h>
+ #include <gst/video/video.h>
+ #include <gst/video/gstvideometa.h>
+ #include <gst/video/gstvideopool.h>
+@@ -46,6 +50,8 @@ static gboolean gst_pngdec_start (GstVideoDecoder * decoder);
+ static gboolean gst_pngdec_stop (GstVideoDecoder * decoder);
+ static gboolean gst_pngdec_set_format (GstVideoDecoder * Decoder,
+     GstVideoCodecState * state);
++static GstFlowReturn gst_pngdec_parse (GstVideoDecoder * decoder,
++    GstVideoCodecFrame * frame, GstAdapter * adapter, gboolean at_eos);
+ static GstFlowReturn gst_pngdec_handle_frame (GstVideoDecoder * decoder,

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


More information about the Tizen-submit mailing list