Hello community,
here is the log from the commit of package gstreamer-editing-services for
openSUSE:Factory checked in at 2020-12-13 17:29:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-editing-services (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-editing-services.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-editing-services"
Sun Dec 13 17:29:40 2020 rev:34 rq:854819 version:1.18.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-editing-services/gstreamer-editing-services.changes
2020-11-29 12:26:01.289856121 +0100
+++
/work/SRC/openSUSE:Factory/.gstreamer-editing-services.new.2328/gstreamer-editing-services.changes
2020-12-13 17:30:15.584381188 +0100
@@ -1,0 +2,9 @@
+Thu Dec 10 17:28:13 UTC 2020 - Bjørn Lie <[email protected]>
+
+- Update to version 1.18.2:
+ + Fix static build
+ + ges_init(): Fix potential initialisation crash on error
+- Fix the _service file and spec to really use the tarball
+ generated by service.
+
+-------------------------------------------------------------------
Old:
----
gst-editing-services-1.18.1.tar.xz
New:
----
gst-editing-services-1.18.2.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-editing-services.spec ++++++
--- /var/tmp/diff_new_pack.pKEEni/_old 2020-12-13 17:30:16.204381816 +0100
+++ /var/tmp/diff_new_pack.pKEEni/_new 2020-12-13 17:30:16.208381821 +0100
@@ -18,14 +18,17 @@
%define _name gst-editing-services
+
Name: gstreamer-editing-services
-Version: 1.18.1
+Version: 1.18.2
Release: 0
Summary: GStreamer Editing Services
License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: Productivity/Multimedia/Other
URL:
https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-editing-services/html/ges-architecture.html
-Source:
https://gstreamer.freedesktop.org/src/gstreamer-editing-services/%{_name}-%{version}.tar.xz
+#Source0:
https://gstreamer.freedesktop.org/src/gstreamer-editing-services/%%{_name}-%%{version}.tar.xz
+Source0: %{_name}-%{version}.tar.xz
+
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: flex
++++++ _service ++++++
--- /var/tmp/diff_new_pack.pKEEni/_old 2020-12-13 17:30:16.232381845 +0100
+++ /var/tmp/diff_new_pack.pKEEni/_new 2020-12-13 17:30:16.236381849 +0100
@@ -1,10 +1,15 @@
+<?xml version="1.0"?>
<services>
<service name="tar_scm" mode="disabled">
<param
name="url">https://gitlab.freedesktop.org/gstreamer/gst-editing-services.git</param>
<param name="filename">gst-editing-services</param>
-<!-- <param name="versionformat">@PARENT_TAG@+git%cd.%h</param>-->
- <param name="revision">1.18.1</param>
- <param name="versionformat">@PARENT_TAG@</param>
+ <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
+ <param name="versionrewrite-pattern">(.*)\+0</param>
+ <param name="versionrewrite-replacement">\1</param>
+<!--
+ <param name="changesgenerate">enable</param>
+-->
+ <param name="revision">1.18.2</param>
<param name="scm">git</param>
</service>
<service name="recompress" mode="disabled">
++++++ gst-editing-services-1.18.1.tar.xz -> gst-editing-services-1.18.2.tar.xz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/.gitlab-ci.yml
new/gst-editing-services-1.18.2/.gitlab-ci.yml
--- old/gst-editing-services-1.18.1/.gitlab-ci.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/gst-editing-services-1.18.2/.gitlab-ci.yml 2020-12-06
14:25:03.000000000 +0100
@@ -0,0 +1 @@
+include:
"https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/1.18/gitlab/ci_template.yml"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/ChangeLog
new/gst-editing-services-1.18.2/ChangeLog
--- old/gst-editing-services-1.18.1/ChangeLog 2020-10-26 12:16:26.716392300
+0100
+++ new/gst-editing-services-1.18.2/ChangeLog 2020-12-06 14:25:03.000000000
+0100
@@ -1,3 +1,51 @@
+=== release 1.18.2 ===
+
+2020-12-06 13:25:02 +0000 Tim-Philipp Müller <[email protected]>
+
+ * ChangeLog:
+ * NEWS:
+ * RELEASE:
+ * gst-editing-services.doap:
+ * meson.build:
+ Release 1.18.2
+
+2020-10-30 00:30:52 +1100 Jan Schmidt <[email protected]>
+
+ * ges/ges.c:
+ * tools/ges-launcher.c:
+ init: Fix initialisation crash
+ Fix a case where initialisation fails without setting
+ the passed-in GError and the caller assumes it will be
+ set, and add a guard to catch the condition in case it
+ happens again in the future.
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/218>
+
+2020-10-18 16:08:36 +0200 Fabrice Fontaine <[email protected]>
+
+ * tools/ges-launcher.c:
+ * tools/utils.c:
+ * tools/utils.h:
+ utils.c: fix static build
+ Static build fails since version 1.17.1 and
+
https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/commit/1e488d4311420b5ca193155ad8ab05509c9a4a37
+ on:
+ FAILED: tools/ges-launch-1.0
+ /srv/storage/autobuild/run/instance-2/output-1/host/bin/arm-linux-gcc
-o tools/ges-launch-1.0 tools/ges-launch-1.0.p/ges-validate.c.o
tools/ges-launch-1.0.p/ges-launch.c.o tools/ges-launch-1.0.p/ges-launcher.c.o
tools/ges-launch-1.0.p/utils.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1
-Wl,-Bsymbolic-functions -static -Wl,--start-group ges/libges-1.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstreamer-1.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgobject-2.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libglib-2.0.a
-pthread
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpcre.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libffi.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgmodule-2.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstbase-1.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstvideo-1.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstpbutils-1.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstaudio-1.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libz.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgsttag-1.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgstcontroller-1.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgio-2.0.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libmount.a
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libblkid.a
-lm -Wl,--end-group
+
/srv/storage/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld:
/srv/storage/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(err.os):
in function `warn':
+ err.c:(.text+0x1d8): multiple definition of `warn';
tools/ges-launch-1.0.p/utils.c.o:utils.c:(.text+0x9bc): first defined here
+ So rename warn function to ges_warn
+ Also prefix ok, print and printerr function by ges_ for consistancy
and
+ run gst-indent on tools/ges-launcher.c
+ Fixes:
+ -
http://autobuild.buildroot.org/results/2a528a1185644f5b23d26eb3f2b342e99aa1e493
+ Signed-off-by: Fabrice Fontaine <[email protected]>
+ Part-of:
<https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/221>
+
+2020-10-27 12:34:45 +0000 Tim-Philipp Müller <[email protected]>
+
+ * meson.build:
+ Back to development
+
=== release 1.18.1 ===
2020-10-26 11:16:25 +0000 Tim-Philipp Müller <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/NEWS
new/gst-editing-services-1.18.2/NEWS
--- old/gst-editing-services-1.18.1/NEWS 2020-10-26 12:16:26.716392300
+0100
+++ new/gst-editing-services-1.18.2/NEWS 2020-12-06 14:25:03.000000000
+0100
@@ -2,8 +2,8 @@
GStreamer 1.18.0 was originally released on 8 September 2020.
-The latest bug-fix release in the 1.18 series is 1.18.1 and was released
-on 26 October 2020.
+The latest bug-fix release in the 1.18 series is 1.18.2 and was released
+on 6 December 2020.
See https://gstreamer.freedesktop.org/releases/1.18/ for the latest
version of this document.
@@ -2387,6 +2387,195 @@
- List of Merge Requests applied in 1.18.1
- List of Issues fixed in 1.18.1
+1.18.2
+
+The second 1.18 bug-fix release (1.18.2) was released on 6 December
+2020.
+
+This release only contains bugfixes and it should be safe to update from
+1.18.x.
+
+Highlighted bugfixes in 1.18.2
+
+- Fix MPEG-TS timestamping regression when playing DVB streams
+- compositor: fix artefacts in certain input scaling/conversion
+ situations and make sure that the output format is actually
+ supported, plus renegotiation fixes
+- Fix sftp:// URI playback in decodebin/playbin via giosrc
+- adaptivedemux/dashdemux/hlsdemux fixes
+- rtsp-server fixes
+- android media: fix crash when encoding AVC
+- fix races in various unit tests
+- lots of other bug fixes and memory leak fixes
+- various stability, performance and reliability improvements
+- g-i annotation fixes
+- build fixes
+
+gstreamer
+
+- bin: When removing a sink, check if the EOS status changed
+- info: colorize PIDs in log messages
+- aggregator: Include min-upstream-latency in buffering time, helps
+ especially with performance issues on single core systems where
+ there are a lot of threads running
+- typefind: copy seqnum to new segment event, fixing issues with
+ oggdemux operating in push mode with typefind operating in pull mode
+- identity, clocksync: Also provide system clock if sync=false
+- queue2: Fix modes in scheduling query handling
+- harness: Handle element not being set cleanly
+- g-i: Add some missing nullable annotations, and fix some nullable
+ annotations:
+ - gst_test_clock_process_next_clock_id() returns nullable
+ - gst_stream_type_get_name() is not nullable
+- build: fix build issue when compiling for 32-bit architectures with
+ 64-bit time_t (e.g. riscv32) by increasing padding in
+ GstClockEntryImpl in gst_private.h
+
+gst-plugins-base
+
+- gl/eagl: internal view resize fixes for glimagesink
+- video-converter: increase the number of cache lines for resampling,
+ fixes significant color issues and artefacts with “special” resizing
+ parameters in compositor
+- compositor: Don’t crash in prepare_frame() if the pad was just
+ removed
+- decodebin3: Properly handle caps query with no filter
+- videoaggregator: Guarantee that the output format is supported
+- videoaggregator: Fix locking around vagg->info
+- gluploadelement: Avoid race condition of base class’ context
+- gluploadelement: Avoid race condition of inside upload creation
+- gl: Fix prototype of glGetSynciv()
+- tcpserversink: Don’t assume g_socket_get_remote_address() succeeds
+- video-aggregator: Fix renegotiation when using convert pads
+- videoaggregator: document and fix locking in convert pad
+- audiodecoder, videodecoder: Don’t reset max-errors property value in
+ reset()
+- audioencoder: Fix incorrect GST_LOG_OBJECT usage
+- pbutils: Fix segfault when using invalid encoding profile
+- g-i: videometa: gir annotate the size of plane array in new API
+- examples/gl/gtk: Add missing dependency on gstgl
+- video: fix doc warning
+
+gst-plugins-good
+
+- rpicamsrc: add vchostif library as it is required to build
+ successful
+- deinterlace: Enable x86 assembly with nasm on MSVC
+- v4l2: caps negotiate wrong as interlace feature
+- aacparse: Fix caps change handling
+- rtspsrc: Use URI hash for stream id
+- flvmux: Release pads via GstAggregator
+- qtmux: Chain up when releasing pad, and fix some locking
+- matroska-mux: Fix sparse stream crash
+- Splitmux testsuite races
+
+gst-plugins-bad
+
+- tsparse: timestamp packetized buffers, fixing timestamp handling
+ regression in connection with dvbsrc in MeTV
+- ttmlparse: fix issues in aggregation of input TTML
+- mpegdemux: Set duration on seeking query if possible, fixes seeking
+ in MPEG-PS streams in gst-play-1.0
+- mpegtsdemux: Fix off by one error
+- adaptivedemux: Store QoS values on the element
+- adaptivedemux: Don’t calculate bitrate for header/index fragments
+- hlsdemux: Don’t double-free variant streams on errors
+- mpegtspacketizer: Handle PCR issues with adaptive streams
+- player: call ref_sink on pipeline
+- vkdeviceprovider: Avoid deadlock on physical device
+- wlvideoformat: fix DMA format convertor
+- Webrtc shutdown crashes
+- decklink: Update enum value bounds check in gst_decklink_get_mode()
+- decklink: correct framerate 2KDCI 23.98
+- amc: Fix crash when encoding AVC
+- d3d11videoprocessor: Fix wrong input/output supportability check
+- opencv: allow compilation against 4.5.x
+- tests: svthevcenc: Fix test_encode_simple
+- tests: dtls: Don’t set dtlsenc state before linking
+- mpegtsmux: Restore intervals when creating TsMux
+- adaptivedemux, hlsdemux, curl: Use actual object for logging
+- gi: player: Fix get_current_subtitle_track() annotation
+
+gst-plugins-ugly
+
+- no changes
+
+gst-libav
+
+- avauddec: Check planar-ness of frame rather than context, fixes
+ issue with aptX HD decoding
+
+gst-rtsp-server
+
+- stream: collect a clock_rate when blocking
+- media: Ignore GstRTSPStreamBlocking from incomplete streams, to
+ prevent cases with prerolling when the inactive stream prerolls
+ first and the server proceeds without waiting for the active stream.
+ When there are no complete streams (during DESCRIBE), we will listen
+ to all streams.
+- media: Use guint64 for setting the size-time property on rtpstorage,
+ fixes potential crashes or memory corruption.
+- media: Get rates only on sender streams, fixing issue with ONVIF
+ audio backchannel streams
+- media: Plug memory leak
+
+gstreamer-vaapi
+
+- H265 decoder: Fix a typo in scc reference setting
+
+gstreamer-sharp
+
+- no changes
+
+gst-omx
+
+- no changes
+
+gst-python
+
+- no changes
+
+gst-editing-services
+
+- Fix static build
+- ges_init(): Fix potential initialisation crash on error
+
+gst-integration-testsuites
+
+- no changes
+
+gst-build
+
+- gst-env: use Path.open() in get_pkgconfig_variable_from_pcfile(),
+ fixes issues with python 3.5
+- subprojects: pin orc to 0.4.32 release (was 0.4.29) and pin libpsl
+ to 0.21.1 (was master)
+
+Cerbero build tool and packaging changes in 1.18.2
+
+- build-tools: copy the removed site.py from setuptools, fixing python
+ programs (like meson) from using libraries from incorrect places
+
+Contributors to 1.18.2
+
+Arun Raghavan, Bing Song, Chris Bass, Chris Duncan, Chris White, David
+Keijser, David Phung, Edward Hervey, Fabrice Fontaine, Guillaume
+Desmottes, Guiqin Zou, He Junyan, Jan Alexander Steffens (heftig), Jan
+Schmidt, Jason Pereira, Jonathan Matthew, Jose Quaresma, Julian Bouzas,
+Khem Raj, Kristofer Björkström, Marijn Suijten, Mart Raudsepp, Mathieu
+Duponchelle, Matthew Waters, Nicola Murino, Nicolas Dufresne, Nirbheek
+Chauhan, Olivier Crête, Philippe Normand, Rafostar, Randy Li, Sanchayan
+Maity, Sebastian Dröge, Seungha Yang, Thibault Saunier, Tim-Philipp
+Müller, Vivia Nikolaidou, Xavier Claessens
+
+… and many others who have contributed bug reports, translations, sent
+suggestions or helped testing. Thank you all!
+
+List of merge requests and issues fixed in 1.18.2
+
+- List of Merge Requests applied in 1.18.2
+- List of Issues fixed in 1.18.2
+
Schedule for 1.20
Our next major feature release will be 1.20, and 1.19 will be the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/RELEASE
new/gst-editing-services-1.18.2/RELEASE
--- old/gst-editing-services-1.18.1/RELEASE 2020-10-26 12:16:26.716392300
+0100
+++ new/gst-editing-services-1.18.2/RELEASE 2020-12-06 14:25:03.000000000
+0100
@@ -1,4 +1,4 @@
-This is GStreamer gst-editing-services 1.18.1.
+This is GStreamer gst-editing-services 1.18.2.
The GStreamer team is thrilled to announce a new major feature release
of your favourite cross-platform multimedia framework!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/ges/ges.c
new/gst-editing-services-1.18.2/ges/ges.c
--- old/gst-editing-services-1.18.1/ges/ges.c 2020-10-26 12:16:26.732392300
+0100
+++ new/gst-editing-services-1.18.2/ges/ges.c 2020-12-06 14:25:03.000000000
+0100
@@ -120,6 +120,9 @@
_init_formatter_assets ();
if (!_ges_uri_asset_ensure_setup (uriasset_klass)) {
GST_ERROR ("cannot setup uri asset");
+ if (error)
+ *error = g_error_new (GST_CORE_ERROR, GST_CORE_ERROR_MISSING_PLUGIN,
+ "Cannot initialize URI asset class.");
goto failed;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/gst-editing-services-1.18.1/gst-editing-services.doap
new/gst-editing-services-1.18.2/gst-editing-services.doap
--- old/gst-editing-services-1.18.1/gst-editing-services.doap 2020-10-26
12:16:26.736392300 +0100
+++ new/gst-editing-services-1.18.2/gst-editing-services.doap 2020-12-06
14:25:03.000000000 +0100
@@ -32,6 +32,16 @@
<release>
<Version>
+ <revision>1.18.2</revision>
+ <branch>1.18</branch>
+ <name></name>
+ <created>2020-12-06</created>
+ <file-release
rdf:resource="https://gstreamer.freedesktop.org/src/gst-editing-services/gst-editing-services-1.18.2.tar.xz"
/>
+ </Version>
+ </release>
+
+ <release>
+ <Version>
<revision>1.18.1</revision>
<branch>1.18</branch>
<name></name>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/meson.build
new/gst-editing-services-1.18.2/meson.build
--- old/gst-editing-services-1.18.1/meson.build 2020-10-26 12:16:26.736392300
+0100
+++ new/gst-editing-services-1.18.2/meson.build 2020-12-06 14:25:03.000000000
+0100
@@ -1,5 +1,5 @@
project('gst-editing-services', 'c',
- version : '1.18.1',
+ version : '1.18.2',
meson_version : '>= 0.49',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/tools/ges-launcher.c
new/gst-editing-services-1.18.2/tools/ges-launcher.c
--- old/gst-editing-services-1.18.1/tools/ges-launcher.c 2020-10-26
12:16:26.744392400 +0100
+++ new/gst-editing-services-1.18.2/tools/ges-launcher.c 2020-12-06
14:25:03.000000000 +0100
@@ -230,8 +230,8 @@
GstEncodingProfile *prof = NULL;
if (!opts->format) {
GESProject *proj =
- GES_PROJECT (ges_extractable_get_asset (GES_EXTRACTABLE (self->
- priv->timeline)));
+ GES_PROJECT (ges_extractable_get_asset (GES_EXTRACTABLE (self->priv->
+ timeline)));
const GList *profiles = ges_project_list_encoding_profiles (proj);
if (profiles) {
@@ -261,7 +261,9 @@
}
if (!prof) {
- warn ("No format specified and couldn't find one from output file
extension, " "falling back to theora+vorbis in ogg.");
+ ges_warn
+ ("No format specified and couldn't find one from output file
extension, "
+ "falling back to theora+vorbis in ogg.");
g_free (opts->format);
opts->format =
@@ -270,7 +272,8 @@
}
if (!prof) {
- printerr ("Could not find any encoding format for %s\n", opts->format);
+ ges_printerr ("Could not find any encoding format for %s\n",
+ opts->format);
return FALSE;
}
@@ -379,7 +382,7 @@
_project_loading_error_cb (GESProject * project, GESTimeline * timeline,
GError * error, GESLauncher * self)
{
- printerr ("Error loading timeline: '%s'\n", error->message);
+ ges_printerr ("Error loading timeline: '%s'\n", error->message);
self->priv->seenerrors = TRUE;
g_application_quit (G_APPLICATION (self));
@@ -449,7 +452,7 @@
_error_loading_asset_cb (GESProject * project, GError * error,
const gchar * failed_id, GType extractable_type, GESLauncher * self)
{
- printerr ("Error loading asset %s: %s\n", failed_id, error->message);
+ ges_printerr ("Error loading asset %s: %s\n", failed_id, error->message);
self->priv->seenerrors = TRUE;
g_application_quit (G_APPLICATION (self));
@@ -483,7 +486,7 @@
gst_object_unref (project);
if (error) {
- printerr ("\nERROR: Could not create timeline because: %s\n\n",
+ ges_printerr ("\nERROR: Could not create timeline because: %s\n\n",
error->message);
g_error_free (error);
return FALSE;
@@ -543,9 +546,9 @@
gst_message_parse_error (message, &err, &dbg_info);
GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS (GST_BIN (self->priv->pipeline),
GST_DEBUG_GRAPH_SHOW_ALL, "ges-launch-error");
- printerr ("ERROR from element %s: %s\n", GST_OBJECT_NAME (message->src),
- err->message);
- printerr ("Debugging info: %s\n", (dbg_info) ? dbg_info : "none");
+ ges_printerr ("ERROR from element %s: %s\n",
+ GST_OBJECT_NAME (message->src), err->message);
+ ges_printerr ("Debugging info: %s\n", (dbg_info) ? dbg_info : "none");
g_clear_error (&err);
g_free (dbg_info);
self->priv->seenerrors = TRUE;
@@ -554,7 +557,7 @@
}
case GST_MESSAGE_EOS:
if (!self->priv->parsed_options.ignore_eos) {
- ok ("\nDone\n");
+ ges_ok ("\nDone\n");
g_application_quit (G_APPLICATION (self));
}
break;
@@ -610,8 +613,8 @@
if (opts->embed_nesteds) {
GList *tmp, *assets;
GESProject *proj =
- GES_PROJECT (ges_extractable_get_asset (GES_EXTRACTABLE (self->
- priv->timeline)));
+ GES_PROJECT (ges_extractable_get_asset (GES_EXTRACTABLE (self->priv->
+ timeline)));
assets = ges_project_list_assets (proj, GES_TYPE_URI_CLIP);
for (tmp = assets; tmp; tmp = tmp->next) {
@@ -669,7 +672,7 @@
}
if (!_timeline_set_user_options (self, self->priv->timeline, NULL)) {
- printerr ("Could not properly set tracks\n");
+ ges_printerr ("Could not properly set tracks\n");
return FALSE;
}
@@ -1048,9 +1051,13 @@
gst_init (&argc, arguments);
if (!ges_launcher_parse_options (self, arguments, &argc, ctx, &error)) {
gst_init (NULL, NULL);
- printerr ("Error initializing: %s\n", error->message);
g_option_context_free (ctx);
- g_error_free (error);
+ if (error) {
+ ges_printerr ("Error initializing: %s\n", error->message);
+ g_error_free (error);
+ } else {
+ ges_printerr ("Error parsing command line arguments\n");
+ }
*exit_status = 1;
goto done;
}
@@ -1096,7 +1103,7 @@
/* Initialize the GStreamer Editing Services */
if (!ges_init ()) {
- printerr ("Error initializing GES\n");
+ ges_printerr ("Error initializing GES\n");
goto done;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/tools/utils.c
new/gst-editing-services-1.18.2/tools/utils.c
--- old/gst-editing-services-1.18.1/tools/utils.c 2020-10-26
12:16:26.748392300 +0100
+++ new/gst-editing-services-1.18.2/tools/utils.c 2020-12-06
14:25:03.000000000 +0100
@@ -172,7 +172,7 @@
}
void
-print (GstDebugColorFlags c, gboolean err, gboolean nline,
+ges_print (GstDebugColorFlags c, gboolean err, gboolean nline,
const gchar * format, va_list var_args)
{
GString *str = g_string_new (NULL);
@@ -212,32 +212,32 @@
}
void
-ok (const gchar * format, ...)
+ges_ok (const gchar * format, ...)
{
va_list var_args;
va_start (var_args, format);
- print (GST_DEBUG_FG_GREEN, FALSE, TRUE, format, var_args);
+ ges_print (GST_DEBUG_FG_GREEN, FALSE, TRUE, format, var_args);
va_end (var_args);
}
void
-warn (const gchar * format, ...)
+ges_warn (const gchar * format, ...)
{
va_list var_args;
va_start (var_args, format);
- print (GST_DEBUG_FG_YELLOW, TRUE, TRUE, format, var_args);
+ ges_print (GST_DEBUG_FG_YELLOW, TRUE, TRUE, format, var_args);
va_end (var_args);
}
void
-printerr (const gchar * format, ...)
+ges_printerr (const gchar * format, ...)
{
va_list var_args;
va_start (var_args, format);
- print (GST_DEBUG_FG_RED, TRUE, TRUE, format, var_args);
+ ges_print (GST_DEBUG_FG_RED, TRUE, TRUE, format, var_args);
va_end (var_args);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-editing-services-1.18.1/tools/utils.h
new/gst-editing-services-1.18.2/tools/utils.h
--- old/gst-editing-services-1.18.1/tools/utils.h 2020-10-26
12:16:26.748392300 +0100
+++ new/gst-editing-services-1.18.2/tools/utils.h 2020-12-06
14:25:03.000000000 +0100
@@ -27,11 +27,11 @@
GstEncodingProfile * parse_encoding_profile (const gchar * format);
void print_enum (GType enum_type);
-void print (GstDebugColorFlags c, gboolean err, gboolean nline, const gchar *
format, va_list var_args);
-void ok (const gchar * format, ...);
-void warn (const gchar * format, ...);
-void printerr (const gchar * format, ...);
+void ges_print (GstDebugColorFlags c, gboolean err, gboolean nline, const
gchar * format, va_list var_args);
+void ges_ok (const gchar * format, ...);
+void ges_warn (const gchar * format, ...);
+void ges_printerr (const gchar * format, ...);
gchar * get_file_extension (gchar * uri);
void describe_encoding_profile (GstEncodingProfile *profile);
-void print_timeline(GESTimeline *timeline);
\ No newline at end of file
+void print_timeline(GESTimeline *timeline);
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]