platform/upstream/gst-plugins-base.git
9 years ago[xvimagesink] fix deadlock issue 77/37777/1 tizen_3.0.2015.q2_common accepted/tizen/common/20150407.102102 accepted/tizen/mobile/20150408.015834 accepted/tizen/tv/20150407.082606 accepted/tizen/wearable/20150407.063142 submit/tizen/20150406.013932
Hyunil Park [Mon, 6 Apr 2015 01:16:25 +0000 (10:16 +0900)]
[xvimagesink] fix deadlock issue

Change-Id: I6dfbe63e77da8519274a26bc44f75f9094ba0313
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years ago[xvimagesink] 1. add pixmap-id-callback & pixmap-id-callback-userdata property 81/36081/4 accepted/tizen/common/20150407.102016 accepted/tizen/mobile/20150407.094513 accepted/tizen/tv/20150407.082409 accepted/tizen/wearable/20150407.063020 submit/tizen/20150406.013712
Hyunil Park [Mon, 2 Mar 2015 02:30:22 +0000 (11:30 +0900)]
[xvimagesink] 1. add pixmap-id-callback & pixmap-id-callback-userdata property
              2. Curved display pixel aspect ratio

Change-Id: I50f18bf06752f8dafc426577be9de4f909e4ab43
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years ago[xvimagesink] Merge Tizen 2.4 code with Tizen 3.0 code 08/35508/1 accepted/tizen/common/20150224.112420 accepted/tizen/mobile/20150223.112350 accepted/tizen/tv/20150223.111935 accepted/tizen/wearable/20150223.112213 submit/tizen/20150217.044248
Hyunil Park [Tue, 17 Feb 2015 03:18:44 +0000 (12:18 +0900)]
[xvimagesink] Merge Tizen 2.4 code with Tizen 3.0 code

Change-Id: I421a4f9a0bc1b0a22781f7fbce06c58d2c75e10b
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years ago1. Define upstream branch name to fix build error on OBS 74/35274/1 accepted/tizen/common/20150223.101140 accepted/tizen/mobile/20150213.002049 accepted/tizen/tv/20150212.125245 accepted/tizen/wearable/20150213.002123 submit/tizen/20150212.065812 submit/tizen_common/20150213.054257
Jeongmo Yang [Wed, 11 Feb 2015 09:42:29 +0000 (18:42 +0900)]
1. Define upstream branch name to fix build error on OBS
2. Disable encodebin

Change-Id: I473a0986d02b4b7a6df43da02b9a5119935cc7f7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
9 years agoRelease 1.4.1 95/35095/2 submit/tizen/20150211.042625
Jeongmo Yang [Mon, 9 Feb 2015 05:48:46 +0000 (14:48 +0900)]
Release 1.4.1

Change-Id: Iac3cc3bd0b16ace804bd77d5e74ccfdfcb19be32
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
9 years ago[cameracontrol] Fix build error 54/34554/1
Jeongmo Yang [Thu, 29 Jan 2015 03:15:15 +0000 (12:15 +0900)]
[cameracontrol] Fix build error

Change-Id: Ia1f9b88428c6b23a0a83aef9164ebd3497d21965
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
9 years ago[cameracontrol] add value parameter for set/get_value function 27/34427/1 submit/tizen/20150128.103236
Jeongmo Yang [Tue, 27 Jan 2015 08:18:13 +0000 (17:18 +0900)]
[cameracontrol] add value parameter for set/get_value function

Change-Id: I6a9dff1c765f0c085c4661ab6796e241b8df1ffb
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
9 years agofix build error caused by samsung specific codes
Boram Park [Tue, 26 Aug 2014 04:47:19 +0000 (13:47 +0900)]
fix build error caused by samsung specific codes

Change-Id: Ic5d70e3d918204e16e21f0a8732d4ad0f475e912

9 years agoConfigure.ac was changed to build without X.
Andrey Shelest [Mon, 18 Aug 2014 13:23:26 +0000 (16:23 +0300)]
Configure.ac was changed to build without X.
Change-Id: Iebb5e9c6330748af967624eefbad0d938e614916

9 years agoAdded Samsung specific code.
Andrey Shelest [Mon, 23 Jun 2014 11:39:03 +0000 (14:39 +0300)]
Added Samsung specific code.
-Support of Samsung extention video formats ITLV, SN12, ST12.
-Support video texture overlay of OSP layer.
-Interface for camera control.

Change-Id: Ice02ca01e1b555036c1a80ea1bdea0f0df9bb218

9 years agoupgrade to 1.2.4
Yan Yin [Thu, 19 Jun 2014 02:47:47 +0000 (10:47 +0800)]
upgrade to 1.2.4

Change-Id: Ie993683f93fefc52994d30861a8a9cd85ff0e191

9 years agomake X dependeny optional
Yan Yin [Thu, 13 Feb 2014 06:00:01 +0000 (14:00 +0800)]
make X dependeny optional

Change-Id: Ie58efc34473016b818751d40f84ac8a1e369df37

9 years agopackaging: Initial packaging on 1.2.0 for Tizen
Yan Yin [Wed, 9 Oct 2013 03:40:22 +0000 (11:40 +0800)]
packaging: Initial packaging on 1.2.0 for Tizen

Change-Id: Ic85f799504e30fd6aa1a6917c720aa719b2fe284

10 years agoRelease 1.4.1 1.4.1
Sebastian Dröge [Wed, 27 Aug 2014 12:04:06 +0000 (15:04 +0300)]
Release 1.4.1

10 years agoUpdate .po files
Sebastian Dröge [Wed, 27 Aug 2014 11:27:28 +0000 (14:27 +0300)]
Update .po files

10 years agopo: Update translations
Sebastian Dröge [Wed, 27 Aug 2014 09:30:10 +0000 (12:30 +0300)]
po: Update translations

10 years agoaudiodecoder: Don't ignore ::start/stop return values
Sebastian Dröge [Mon, 25 Aug 2014 10:14:36 +0000 (13:14 +0300)]
audiodecoder: Don't ignore ::start/stop return values

10 years agoplaysinkconvertbin: only intersect with the filter at the end
Thiago Santos [Thu, 14 Aug 2014 19:57:01 +0000 (16:57 -0300)]
playsinkconvertbin: only intersect with the filter at the end

Otherwise we might change some capsfeatures from ANY to the specific
value from the filter and do not filter those out in case the
sink doesn't support them

https://bugzilla.gnome.org/show_bug.cgi?id=734822

10 years agobasetextoverlay: fix caps negotiation filter
Thiago Santos [Tue, 12 Aug 2014 16:41:04 +0000 (13:41 -0300)]
basetextoverlay: fix caps negotiation filter

10 years agoplaysinkconvertbin: Make sure to intersect raw caps with our converter caps
Sebastian Dröge [Wed, 13 Aug 2014 11:28:05 +0000 (14:28 +0300)]
playsinkconvertbin: Make sure to intersect raw caps with our converter caps

Otherwise we end up allowing video/x-raw with arbitrary caps features that are
not handled by our converters.

https://bugzilla.gnome.org/show_bug.cgi?id=734683

10 years agobasetextoverlay: rework caps negotiation
Thiago Santos [Fri, 8 Aug 2014 15:46:47 +0000 (12:46 -0300)]
basetextoverlay: rework caps negotiation

Make textoverlay negotiate caps more correctly.

1) Check what caps we received in the video-sink
2) If it already has the overlay meta -> use it directly
3) If it doesn't, textoverlay try adding the overlay meta and using it,
   if downstream doesn't support it, just use what is received in the
   video-sink
4) Check if the allocation query also supports the meta to enable
   really using it

Before it wasn't really doing renegotiation of any kind, just
re-checking if it should use the overlay meta or not

Also had to update the caps in the test as memory:SystemMemory seems
to be required when you use a caps feature otherwise intersection/subset
checks will fail.

https://bugzilla.gnome.org/show_bug.cgi?id=733916

10 years agobasetextoverlay: always intersect with the filter caps
Thiago Santos [Thu, 7 Aug 2014 20:35:05 +0000 (17:35 -0300)]
basetextoverlay: always intersect with the filter caps

Avoids returning values that upstream can't produce

https://bugzilla.gnome.org/show_bug.cgi?id=733916

10 years agoplaybin: Keep a reference to the playsink sinkpads
Sebastian Dröge [Fri, 1 Aug 2014 13:00:46 +0000 (15:00 +0200)]
playbin: Keep a reference to the playsink sinkpads

Otherwise playsink might get shut down without us noticing
that our pad references are gone now.

Probably fixes https://bugzilla.gnome.org/show_bug.cgi?id=733165

10 years agocheck: Fix include path of rtp checks
Edward Hervey [Thu, 31 Jul 2014 14:09:41 +0000 (16:09 +0200)]
check: Fix include path of rtp checks

Fixes make distcheck

10 years agopbutils: discoverer: Always set the pipeline back to NULL after an error
Thibault Saunier [Wed, 30 Jul 2014 13:23:39 +0000 (15:23 +0200)]
pbutils: discoverer: Always set the pipeline back to NULL after an error

Otherwize the pipeline would be in an wrong state and on the next
iteration any kind of error could happen

Everytime an error happens in a pipeline the application has to set the
pipeline back to NULL instead of READY.

https://bugzilla.gnome.org/show_bug.cgi?id=733976

10 years agoRelease 1.4.0 1.4.0
Sebastian Dröge [Sat, 19 Jul 2014 15:04:57 +0000 (17:04 +0200)]
Release 1.4.0

10 years agoUpdate .po files
Sebastian Dröge [Sat, 19 Jul 2014 14:27:43 +0000 (16:27 +0200)]
Update .po files

10 years agoappsrc: Fix memory leak with callback notify not being called in dispose
Youness Alaoui [Sat, 19 Jul 2014 01:19:03 +0000 (21:19 -0400)]
appsrc: Fix memory leak with callback notify not being called in dispose

https://bugzilla.gnome.org/show_bug.cgi?id=733386

10 years agopo: Update translations
Sebastian Dröge [Sat, 19 Jul 2014 10:29:56 +0000 (12:29 +0200)]
po: Update translations

10 years agoencoding-profile: Add example for using encoder presets with profiles
Nirbheek Chauhan [Fri, 18 Jul 2014 10:31:23 +0000 (16:01 +0530)]
encoding-profile: Add example for using encoder presets with profiles

https://bugzilla.gnome.org/show_bug.cgi?id=733349

10 years agoencoding-profile: Fix typos and old API in docs
Nirbheek Chauhan [Fri, 18 Jul 2014 10:16:05 +0000 (15:46 +0530)]
encoding-profile: Fix typos and old API in docs

https://bugzilla.gnome.org/show_bug.cgi?id=733349

10 years agoxvimagesink: fix property description string
Tim-Philipp Müller [Thu, 17 Jul 2014 13:36:16 +0000 (14:36 +0100)]
xvimagesink: fix property description string

Spotted by Josep Torra.

10 years agopo: update POTFILES
Piotr Drąg [Tue, 15 Jul 2014 14:56:30 +0000 (16:56 +0200)]
po: update POTFILES

https://bugzilla.gnome.org/show_bug.cgi?id=733207

10 years agoplaysink: Fix filter property getter
Arun Raghavan [Sat, 12 Jul 2014 05:03:30 +0000 (10:33 +0530)]
playsink: Fix filter property getter

The switch-case set was incomplete.

https://bugzilla.gnome.org/show_bug.cgi?id=733012

10 years agoRelease 1.3.91 1.3.91
Sebastian Dröge [Fri, 11 Jul 2014 09:21:29 +0000 (11:21 +0200)]
Release 1.3.91

10 years agoUpdate .po files
Sebastian Dröge [Fri, 11 Jul 2014 09:21:05 +0000 (11:21 +0200)]
Update .po files

10 years agolibvisual: Remove < 0.4 support
Edward Hervey [Fri, 11 Jul 2014 08:13:03 +0000 (10:13 +0200)]
libvisual: Remove < 0.4 support

And remove the version guards that went along with it

https://bugzilla.gnome.org/show_bug.cgi?id=733046

10 years agodmabuf: Ensure _get_fd() works even for shared memory
Nicolas Dufresne [Thu, 10 Jul 2014 22:17:47 +0000 (18:17 -0400)]
dmabuf: Ensure _get_fd() works even for shared memory

Fixes regression introduced by:

commit b60888fd4bcacd42bb4e27fa938272d6e72c5c32
Author: Michael Olbrich <m.olbrich@pengutronix.de>
Date:   Tue May 20 11:18:56 2014 +0200

    dmabuf: share the mapping with shared copies of the memory

https://bugzilla.gnome.org/show_bug.cgi?id=730441

10 years agopo: Update translations
Sebastian Dröge [Fri, 11 Jul 2014 06:51:58 +0000 (08:51 +0200)]
po: Update translations

10 years agosdp: add gstmikey.h to sdp.h
Evan Nemerson [Thu, 3 Jul 2014 20:46:08 +0000 (13:46 -0700)]
sdp: add gstmikey.h to sdp.h

https://bugzilla.gnome.org/show_bug.cgi?id=732709

10 years agoriff: Print invalid fourcc in error message in hex
Sebastian Rasmussen [Thu, 3 Jul 2014 16:32:02 +0000 (18:32 +0200)]
riff: Print invalid fourcc in error message in hex

Previously this was printed as characters which caused later processing
of the error message to sometimes warn about non-UTF-8 characters.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732697

10 years agovideodecoder: parse any source data that is still available.
Gwenole Beauchesne [Fri, 20 Jun 2014 16:02:31 +0000 (18:02 +0200)]
videodecoder: parse any source data that is still available.

Fix gst_video_decoder_parse_available() to really parse any pending
source data that is still available in the adapter. This is a memory
optimization to avoid expansion of video packed added to the adapter,
but also a fix to EOS condition when the subclass parse() function
ultimately only needed to call into gvd_have_frame() and no additional
source bytes were consumed, i.e. gvd_add_to_frame() is not called.

This situation can occur when decoding H.264 streams in byte-stream/nal
mode for instance. A decoder always requires the next NAL unit to be
parsed so that to determine picture boundaries. When a new picture is
found, no byte is consumed (i.e. gvd_add_to_frame() is not called)
but gvd_have_frame() is called (i.e. priv->current_frame is gone).

Also make sure to avoid infinite loops caused by incorrect subclass
parse() implementations. This can occur when no byte gets consumed
and no appropriate indication (GST_VIDEO_DECODER_FLOW_NEED_DATA) is
returned.

https://bugzilla.gnome.org/show_bug.cgi?id=731974

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
10 years agotests: codec-select: fix compilation
Wim Taymans [Wed, 2 Jul 2014 13:50:23 +0000 (15:50 +0200)]
tests: codec-select: fix compilation

10 years agomikey: add more Since markers for new methods
Wim Taymans [Wed, 2 Jul 2014 13:49:38 +0000 (15:49 +0200)]
mikey: add more Since markers for new methods

10 years agomikey: make message and payload mini-objects
Wim Taymans [Wed, 2 Jul 2014 13:38:41 +0000 (15:38 +0200)]
mikey: make message and payload mini-objects

Make the MIKEY message and payload objects miniobjects so that they have
a GType and are refcounted.
We can reuse the dispose method to clear our payload objects.
Add some annotations.
Implement a copy function for the MIKEY message.
Fix the unit test.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732589

10 years agotests: codec-select: Plug element name memory leak
Sebastian Rasmussen [Tue, 1 Jul 2014 22:21:00 +0000 (00:21 +0200)]
tests: codec-select: Plug element name memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=732593

10 years agodocs: Assorted documentation and introspection fixes for new 1.4 API
Evan Nemerson [Tue, 1 Jul 2014 23:14:43 +0000 (16:14 -0700)]
docs: Assorted documentation and introspection fixes for new 1.4 API

https://bugzilla.gnome.org/show_bug.cgi?id=732595

10 years agortspconnection: also allow POST before GET
Wim Taymans [Tue, 1 Jul 2014 14:19:22 +0000 (16:19 +0200)]
rtspconnection: also allow POST before GET

Don't only allow GET and then POST request to setup tunneling over HTTP
but also allow POST and then GET.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732459

10 years agolibvisual: Rename get_type() function to prevent conflicts with static linking
Sebastian Dröge [Sat, 28 Jun 2014 15:08:06 +0000 (17:08 +0200)]
libvisual: Rename get_type() function to prevent conflicts with static linking

https://bugzilla.gnome.org/show_bug.cgi?id=728443

10 years agoRelease 1.3.90 1.3.90
Sebastian Dröge [Sat, 28 Jun 2014 09:01:13 +0000 (11:01 +0200)]
Release 1.3.90

10 years agoUpdate .po files
Sebastian Dröge [Sat, 28 Jun 2014 08:56:36 +0000 (10:56 +0200)]
Update .po files

10 years agoplaysinkconvertbin: fix caps leak
Thiago Santos [Fri, 27 Jun 2014 17:24:10 +0000 (14:24 -0300)]
playsinkconvertbin: fix caps leak

Let go the reference to the converter caps after using it

10 years agotools: add gst-device-monitor-1.0 utility
Tim-Philipp Müller [Fri, 27 Jun 2014 09:41:55 +0000 (10:41 +0100)]
tools: add gst-device-monitor-1.0 utility

Just shows devices with basic info and exits. Or will
wait for more devices to show up or be removed with
the --follow option. It's also possible to pass filters
as command line arguments in the form DEVICE_CLASSES
or DEVICE_CLASSES:CAPS.

10 years agolibs: There is no G_TYPE_CHECK_INTERFACE_TYPE and G_TYPE_CHECK_INTERFACE_CAST
Sebastian Dröge [Thu, 26 Jun 2014 14:18:05 +0000 (16:18 +0200)]
libs: There is no G_TYPE_CHECK_INTERFACE_TYPE and G_TYPE_CHECK_INTERFACE_CAST

Remove the macros that used them, nobody could've used them anyway.

10 years agopbutils: handle more H.264 profiles and levels.
Gwenole Beauchesne [Thu, 26 Jun 2014 09:35:43 +0000 (11:35 +0200)]
pbutils: handle more H.264 profiles and levels.

Recognize H.264 Level 5.2, as exposed by modern 2160p30+ streams,
i.e. commonly known as 4K. Also add initial support for handling
Annex.G (SVC) profiles.

https://bugzilla.gnome.org/show_bug.cgi?id=732269

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
10 years agotypefind: Bump iso mp4 typefinder to PRIMARY. Add mp4 extension hint.
Jan Schmidt [Wed, 25 Jun 2014 18:27:31 +0000 (04:27 +1000)]
typefind: Bump iso mp4 typefinder to PRIMARY. Add mp4 extension hint.

Fixes a problem with at least one file being detected incorrectly as
DTS because there's DTS packets early enough in the file.

10 years agotests: fix vararg handling in rtpbasedepayload unit test
Tim-Philipp Müller [Mon, 23 Jun 2014 00:02:22 +0000 (01:02 +0100)]
tests: fix vararg handling in rtpbasedepayload unit test

Makes it pass on 32-bit systems.

10 years agotests: fix vararg handling in rtpbasepayload unit test
Tim-Philipp Müller [Sun, 22 Jun 2014 23:33:18 +0000 (00:33 +0100)]
tests: fix vararg handling in rtpbasepayload unit test

Makes it pass on 32-bit systems.

10 years agoplaysinkconvertbin: Filter out ANY capsfeatures from the converter caps
Sebastian Dröge [Sun, 22 Jun 2014 18:42:13 +0000 (20:42 +0200)]
playsinkconvertbin: Filter out ANY capsfeatures from the converter caps

We can't convert to ANY capsfeatures, they are only there so that we
can passthrough whatever downstream can support... but we definitely
don't want to return them to upstream.

10 years agoBack to development
Sebastian Dröge [Sun, 22 Jun 2014 17:36:14 +0000 (19:36 +0200)]
Back to development

10 years agoRelease 1.3.3 1.3.3
Sebastian Dröge [Sun, 22 Jun 2014 16:07:57 +0000 (18:07 +0200)]
Release 1.3.3

10 years agoUpdate .po files
Sebastian Dröge [Sun, 22 Jun 2014 15:25:42 +0000 (17:25 +0200)]
Update .po files

10 years agopo: Update translations
Sebastian Dröge [Sun, 22 Jun 2014 12:23:32 +0000 (14:23 +0200)]
po: Update translations

10 years agoaudiodecoder: Don't be too picky about the output frame counter
Sebastian Dröge [Fri, 20 Jun 2014 09:00:14 +0000 (11:00 +0200)]
audiodecoder: Don't be too picky about the output frame counter

With most decoder libraries, and especially when accessing codecs via
OpenMAX or similar APIs, we don't have the ability to properly related
the output buffers to a number of input samples. And could e.g. get
a fractional number of input buffers decoded at a time.

Previously this would in the end lead to an error message and stopped
playback. Change it to a warning message instead and try to handle it
gracefully. In theory the subclass can now get timestamp tracking
wrong if it completely misuses the API, but if on average it behaves
correct (and gst-omx and others do) it will continue to work properly.

Also add a test for the new behaviour.

We don't change it in the encoder yet as that requires more internal logic
changes AFAIU and I'm not aware of a case where this was a problem so far.

10 years agotcpserversrc: close the server socket after accepting a connection
Michael Olbrich [Thu, 12 Jun 2014 10:36:26 +0000 (12:36 +0200)]
tcpserversrc: close the server socket after accepting a connection

g_socket_accept() is only called once for a server socket. So
keeping the socket open ist just confusing possible clients.

https://bugzilla.gnome.org/show_bug.cgi?id=731566

10 years agotcpclientsrc: return FLUSHING when select() is canceled
Tim-Philipp Müller [Fri, 13 Jun 2014 09:04:47 +0000 (10:04 +0100)]
tcpclientsrc: return FLUSHING when select() is canceled

https://bugzilla.gnome.org/show_bug.cgi?id=731567

10 years agotcpserversrc: return FLOW_FLUSHING instead of an error when accept/select is canceled
Michael Olbrich [Thu, 12 Jun 2014 11:23:29 +0000 (13:23 +0200)]
tcpserversrc: return FLOW_FLUSHING instead of an error when accept/select is canceled

Canceling the accept/select happens when the source is shut down. This is
not an error and the GST_FLOW_ERROR causes problems when only part of the
pipeline is shut down.

https://bugzilla.gnome.org/show_bug.cgi?id=731567

10 years agomikey: Fix Wall to NTP conversion
Edward Hervey [Thu, 12 Jun 2014 09:55:59 +0000 (11:55 +0200)]
mikey: Fix Wall to NTP conversion

We are scaling from a unit in microseconds to a unit in ((1 << 32) per seconds).

We therefore scale the microseconds values by:

         value of a second in the target unit (1 << 32)
  --------------------------------------------------------------
  value of a second in the origin format (1 000 000 microsecond)

10 years agooggdemux: allow unset seek stop time in push mode
Vincent Penquerc'h [Fri, 6 Jun 2014 11:18:49 +0000 (12:18 +0100)]
oggdemux: allow unset seek stop time in push mode

10 years agodocs: add streamsynchronizer to documentation
Tim-Philipp Müller [Wed, 11 Jun 2014 11:50:23 +0000 (12:50 +0100)]
docs: add streamsynchronizer to documentation

10 years agodocs: add playsink element to documentation
Tim-Philipp Müller [Wed, 11 Jun 2014 11:43:35 +0000 (12:43 +0100)]
docs: add playsink element to documentation

10 years agodocs: add navigation interface to docs
Tim-Philipp Müller [Wed, 11 Jun 2014 09:53:50 +0000 (10:53 +0100)]
docs: add navigation interface to docs

10 years agoappsrc: add send_event handler for flushing
Thiago Santos [Tue, 10 Jun 2014 15:59:53 +0000 (12:59 -0300)]
appsrc: add send_event handler for flushing

Adds a send_event handling for allowing appsrc to flush its internal
data, allowing users to flush the pipeline without setting it to null.

https://bugzilla.gnome.org/show_bug.cgi?id=724231

10 years agovideoscale: vs_image: strides are a gsize
Thiago Santos [Tue, 10 Jun 2014 00:05:00 +0000 (21:05 -0300)]
videoscale: vs_image: strides are a gsize

The strides that are set from the GstVideoInfo structs are
a gsize. Using an int can cause overflows when dealing with large
enough images

https://bugzilla.gnome.org/show_bug.cgi?id=731195

10 years agovideo: avoid overflows when doing int operations for size
Thiago Santos [Mon, 9 Jun 2014 22:44:56 +0000 (19:44 -0300)]
video: avoid overflows when doing int operations for size

size is a gsize, so cast the operands to it to avoid overflows
and setting wrong value to the video size.

Includes tests.

https://bugzilla.gnome.org/show_bug.cgi?id=731195

10 years agotheoraenc: Remove unneeded check
Edward Hervey [Mon, 9 Jun 2014 08:53:03 +0000 (10:53 +0200)]
theoraenc: Remove unneeded check

running timestamps are guaranteed to be positive and valid since the
GstVideoEncoder base class will clip incoming buffers

CID #1139797

10 years agovorbisenc: add missing va_end in variadic function
Edward Hervey [Mon, 9 Jun 2014 08:38:53 +0000 (10:38 +0200)]
vorbisenc: add missing va_end in variadic function

Coverity 1139944

10 years agotests: fix uninitialized variable use in video decoder test
Vincent Penquerc'h [Fri, 6 Jun 2014 09:35:31 +0000 (10:35 +0100)]
tests: fix uninitialized variable use in video decoder test

10 years agouridecodebin: Also catch CODEC_NOT_FOUND errors and delay them until all decodebins...
Sebastian Dröge [Thu, 5 Jun 2014 13:35:31 +0000 (15:35 +0200)]
uridecodebin: Also catch CODEC_NOT_FOUND errors and delay them until all decodebins are done

10 years agouridecodebin: Ignore missing-plugin messages unless all decodebins post one
Sebastian Dröge [Wed, 4 Jun 2014 15:00:34 +0000 (17:00 +0200)]
uridecodebin: Ignore missing-plugin messages unless all decodebins post one

When playing RTSP streams there will be one decodebin per stream. If some of
them fail because of a missing plugin we should not fail completely but play
the supported streams at least.

https://bugzilla.gnome.org/show_bug.cgi?id=730868

10 years agodecodebin: Do async-done on expose errors too
Sebastian Dröge [Wed, 4 Jun 2014 12:14:14 +0000 (14:14 +0200)]
decodebin: Do async-done on expose errors too

10 years agodmabuf: fix checking mmap flags
Michael Olbrich [Tue, 20 May 2014 10:28:15 +0000 (12:28 +0200)]
dmabuf: fix checking mmap flags

A simple '&' is not sufficiant. With mmapping_flags == PROT_READ and
prot == PROT_READ|PROT_WRITE the check produces the wrong result.
Change the check to make sure that prot is a subset of mmapping_flags.

https://bugzilla.gnome.org/show_bug.cgi?id=730559

10 years agoalsasink: make gst-ident happy
Vincent Penquerc'h [Tue, 3 Jun 2014 14:16:44 +0000 (15:16 +0100)]
alsasink: make gst-ident happy

10 years agoalsasink: fix occasional crash intersecting invalid values
Vincent Penquerc'h [Tue, 3 Jun 2014 14:10:33 +0000 (15:10 +0100)]
alsasink: fix occasional crash intersecting invalid values

When a pipeline using alsasink and push mode upstream fails
to preroll, the following state will be the case:
- A loop upstream will be PAUSED, pushing a first buffer
- alsasink will be READY, pending PAUSED, because async

On error, the pipeline will switch to NULL. alsasink is in
READY, so goes to NULL immediately. It zeroes its cached
caps. Meanwhile, the upstream loop can cause a caps query,
conccurent with the state change. This will use those cached
caps. If the zeroing happens between the NULL test and the
dereferencing, GStreamer will critical down in the GstValue
code.

Since it appears that such a gap between states (PAUSED
and pushing upstream, and NULL downstream) is expected, we
need to protect the read/write access to the cached caps.

This fixes the critical.

See https://bugzilla.gnome.org/show_bug.cgi?id=731121

10 years agovideodecoder: Keep still meaningfull pending events on FLUSH_STOP
Thibault Saunier [Mon, 14 Oct 2013 21:56:55 +0000 (18:56 -0300)]
videodecoder: Keep still meaningfull pending events on FLUSH_STOP

Only EOS and segment should be deleted in that case.

+ Add a testcase

https://bugzilla.gnome.org/show_bug.cgi?id=709868

10 years agoaudiodecoder: Keep still meaningfull pending events on FLUSH_STOP
Thibault Saunier [Mon, 14 Oct 2013 21:48:08 +0000 (18:48 -0300)]
audiodecoder: Keep still meaningfull pending events on FLUSH_STOP

Only EOS and segment should be deleted in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=709868

10 years agovideoencoder: Keep still meaningfull pending events on FLUSH_STOP
Thibault Saunier [Mon, 14 Oct 2013 21:45:10 +0000 (18:45 -0300)]
videoencoder: Keep still meaningfull pending events on FLUSH_STOP

Only EOS and segment should be deleted in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=709868

10 years agostreamsplitter: Keep still meaningfull pending events on FLUSH_STOP
Thibault Saunier [Thu, 10 Oct 2013 21:50:17 +0000 (18:50 -0300)]
streamsplitter: Keep still meaningfull pending events on FLUSH_STOP

Only EOS and segment should be deleted in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=709868

10 years agoaudioencoder: Keep still meaningfull pending events on FLUSH_STOP
Thibault Saunier [Thu, 10 Oct 2013 21:48:47 +0000 (18:48 -0300)]
audioencoder: Keep still meaningfull pending events on FLUSH_STOP

Only EOS and segment should be deleted in that case.

https://bugzilla.gnome.org/show_bug.cgi?id=709868

10 years agooggstream: consider all opus packets as "keyframes"
Vincent Penquerc'h [Mon, 2 Jun 2014 11:40:27 +0000 (12:40 +0100)]
oggstream: consider all opus packets as "keyframes"

This lets oggdemux determine they are not delta units, and removes
spurious per packet warnings about being unable to determine the
packet's keyframeness.

10 years agomikey: Free MikeyPayload in error cases
Edward Hervey [Mon, 12 May 2014 15:13:50 +0000 (17:13 +0200)]
mikey: Free MikeyPayload in error cases

CID #1212136

10 years agodecodebin: aggregate buffering messages
Thiago Santos [Sun, 16 Mar 2014 17:27:30 +0000 (14:27 -0300)]
decodebin: aggregate buffering messages

Aggregate buffering messages to only post the lower value
to avoid setting pipeline to playing while any multiqueue
is still buffering.

There are 3 scenarios where the entries should be removed from
the list:

1) When decodebin is set to READY
2) When an element posts a 100% buffering (already implemented)
3) When a multiqueue is removed from decodebin.

For item 3 we don't need to handle it because this should only
happen when either 1 is hapenning or when it is playing a
chained file, for which number 2 should have happened for the
previous stream to finish

https://bugzilla.gnome.org/show_bug.cgi?id=726423

10 years agoaudio: Add a missing precondition to gst_audio_format_from_string()
Philip Withnall [Wed, 28 May 2014 09:23:24 +0000 (10:23 +0100)]
audio: Add a missing precondition to gst_audio_format_from_string()

https://bugzilla.gnome.org/show_bug.cgi?id=730874

10 years agotests: videodecoder: audiodecoder: add tests for eos after segment
Thiago Santos [Mon, 26 May 2014 23:57:30 +0000 (20:57 -0300)]
tests: videodecoder: audiodecoder: add tests for eos after segment

Tests that pushing a buffer after the segment returns EOS

10 years agovideodecoder: actually return the push result in backwards playback
Thiago Santos [Tue, 27 May 2014 00:24:07 +0000 (21:24 -0300)]
videodecoder: actually return the push result in backwards playback

It was always returning _OK regardless of what downstream returned

10 years agovideodecoder: return EOS when segment is over
Thiago Santos [Mon, 26 May 2014 15:44:48 +0000 (12:44 -0300)]
videodecoder: return EOS when segment is over

if a buffer is clipped by being completely out of segment, check if this
buffer is after the end of the segment and return EOS upstream

https://bugzilla.gnome.org/show_bug.cgi?id=709224

10 years agoaudiodecoder: return EOS when segment is over
Thiago Santos [Mon, 26 May 2014 15:44:38 +0000 (12:44 -0300)]
audiodecoder: return EOS when segment is over

if a buffer is clipped by being completely out of segment, check if this
buffer is after the end of the segment and return EOS upstream

https://bugzilla.gnome.org/show_bug.cgi?id=709224

10 years agooggdemux: use new gstutils helper GstFlowCombiner
Thiago Santos [Mon, 26 May 2014 14:45:29 +0000 (11:45 -0300)]
oggdemux: use new gstutils helper GstFlowCombiner

Fixes the handling of GST_FLOW_EOS by using the helper object
from gstutils that does the correct combination of flow returns.

https://bugzilla.gnome.org/show_bug.cgi?id=709224

10 years agotools: play: use cubic volume factor when adjusting volume
Tim-Philipp Müller [Fri, 23 May 2014 18:21:35 +0000 (19:21 +0100)]
tools: play: use cubic volume factor when adjusting volume

This is more natural and better-suited for a playback application.

10 years agoBack to development
Sebastian Dröge [Wed, 21 May 2014 11:23:24 +0000 (13:23 +0200)]
Back to development