commit gstreamer-0_10-plugin-crystalhd for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package gstreamer-0_10-plugin-crystalhd for openSUSE:Factory checked in at Thu May 5 10:39:04 CEST 2011. -------- --- gstreamer-0_10-plugin-crystalhd/gstreamer-0_10-plugin-crystalhd.changes 2010-12-14 17:46:47.000000000 +0100 +++ /mounts/work_src_done/STABLE/gstreamer-0_10-plugin-crystalhd/gstreamer-0_10-plugin-crystalhd.changes 2011-05-04 17:54:16.000000000 +0200 @@ -1,0 +2,6 @@ +Wed May 4 15:52:30 UTC 2011 - idoenmez@novell.com + +- Add gstreamer-0_10-plugin-crystalhd-3.5.40-gcc46.patch: remove + write-only variables to fix compilation with gcc 4.6 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gstreamer-0_10-plugin-crystalhd-3.5.40-gcc46.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-0_10-plugin-crystalhd.spec ++++++ --- /var/tmp/diff_new_pack.TefAF7/_old 2011-05-05 10:36:47.000000000 +0200 +++ /var/tmp/diff_new_pack.TefAF7/_new 2011-05-05 10:36:47.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package gstreamer-0_10-plugin-crystalhd (Version 3.5.40) +# spec file for package gstreamer-0_10-plugin-crystalhd # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,11 +27,13 @@ Summary: Gstreamer crystalhd decoder plugin Group: Productivity/Multimedia/Other Version: 3.5.40 -Release: 1 +Release: 6 License: LGPLv2.1+ Source0: crystalhd-gst-plugin_%{version}-1.tar.bz2 Source1: README Source2: LICENSE +# PATCH-FIX-UPSTREAM gstreamer-0_10-plugin-crystalhd-3.5.40-gcc46.patch idoenmez@suse.de -- Fix gcc 4.6 compilation +Patch1: gstreamer-0_10-plugin-crystalhd-3.5.40-gcc46.patch # The package had a very short life as gstreamer-plugin-crystalhd during openSUSE 11.4 development. Provides: gstreamer-plugin-crystalhd = %{version} Obsoletes: gstreamer-plugin-crystalhd < %{version} @@ -45,6 +47,7 @@ %prep %setup -q -n crystalhd-gst +%patch1 cp %{SOURCE1} . cp %{SOURCE2} . ++++++ gstreamer-0_10-plugin-crystalhd-3.5.40-gcc46.patch ++++++ --- src/gstbcmdec.c 2010-12-06 22:36:34.000000000 +0100 +++ src/gstbcmdec.c 2011-05-04 18:00:13.558917747 +0200 @@ -362,9 +362,8 @@ static GstCaps *gst_bcmdec_getcaps (GstPad * pad) { - GstBcmDec *bcmdec; GstCaps *caps; - bcmdec = GST_BCMDEC(gst_pad_get_parent(pad)); + GST_BCMDEC(gst_pad_get_parent(pad)); caps = gst_caps_copy (gst_pad_get_pad_template_caps (pad)); @@ -624,7 +623,6 @@ { GstBcmDec *bcmdec; // BC_STATUS sts = BC_STS_SUCCESS; - guint32 buf_sz = 0; guint32 offset = 0; GstClockTime tCurrent = 0; guint8 *pbuffer; @@ -655,7 +653,6 @@ } tCurrent = GST_BUFFER_TIMESTAMP(buf); } - buf_sz = GST_BUFFER_SIZE(buf); if (bcmdec->play_pending) { bcmdec->play_pending = FALSE; @@ -697,7 +694,6 @@ static gboolean bcmdec_negotiate_format(GstBcmDec *bcmdec) { GstCaps *caps; - guint32 fourcc; gboolean result; guint num = (guint)(bcmdec->output_params.framerate * 1000); guint den = 1000; @@ -706,10 +702,8 @@ GstVideoFormat vidFmt; #ifdef YV12__ - fourcc = GST_STR_FOURCC("YV12"); vidFmt = GST_VIDEO_FORMAT_YV12; #else - fourcc = GST_STR_FOURCC("YUY2"); vidFmt = GST_VIDEO_FORMAT_YUY2; #endif GST_DEBUG_OBJECT(bcmdec, "framerate = %f", bcmdec->output_params.framerate); @@ -858,8 +852,6 @@ GstStateChangeReturn result = GST_STATE_CHANGE_SUCCESS; GstBcmDec *bcmdec = GST_BCMDEC(element); BC_STATUS sts = BC_STS_SUCCESS; - GstClockTime clock_time; - GstClockTime base_clock_time; int ret = 0; switch (transition) { @@ -904,9 +896,9 @@ bcmdec->gst_clock = gst_element_get_clock(element); if (bcmdec->gst_clock) { //printf("clock available %p\n",bcmdec->gst_clock); - base_clock_time = gst_element_get_base_time(element); + //base_clock_time = gst_element_get_base_time(element); //printf("base clock time %lld\n",base_clock_time); - clock_time = gst_clock_get_time(bcmdec->gst_clock); + //clock_time = gst_clock_get_time(bcmdec->gst_clock); //printf(" clock time %lld\n",clock_time); } break; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de