platform/upstream/gst-plugins-bad.git
9 years agoWaylandsink : Set zero to bufferpool config size because we need to create wl_buffer... 37/49137/1 accepted/tizen/mobile/20151008.004234 accepted/tizen/tv/20151008.004252 accepted/tizen/wearable/20151008.004258 submit/tizen/20151007.064915
Hyunil [Wed, 7 Oct 2015 06:36:47 +0000 (15:36 +0900)]
Waylandsink : Set zero to bufferpool config size because we need to create wl_buffer in everyframe.

Change-Id: I4bcc7cdf5ed752f6f4218cb2f9c67bef425fd3a8
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
9 years agowaylandsink: including missing header 98/48698/1 accepted/tizen/mobile/20150925.082403 accepted/tizen/tv/20150925.082415 accepted/tizen/wearable/20150925.082427 submit/tizen/20150925.045838
Boram Park [Fri, 25 Sep 2015 04:13:47 +0000 (13:13 +0900)]
waylandsink: including missing header

Change-Id: I6c300ae3bb0498294ad2b302c2283f5d824aa8a0

9 years agoreplace 'tizen_buffer_pool' interface with 'wayland-tbm' library 07/48307/3 accepted/tizen/mobile/20150921.090159 accepted/tizen/tv/20150921.090213 accepted/tizen/wearable/20150921.090251 submit/tizen/20150921.042429 submit/tizen/20150921.055555 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620
Boram Park [Wed, 16 Sep 2015 12:07:43 +0000 (21:07 +0900)]
replace 'tizen_buffer_pool' interface with 'wayland-tbm' library

Change-Id: Ib85d3a3ec490eb50fe48f233f66f77d22080dd33

9 years agoWaylandsink : modify input argument of gst_wayland_buffer_pool_remove_displaying_buffer 04/47904/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150910.071310 accepted/tizen/tv/20150910.071317 accepted/tizen/wearable/20150910.071331 submit/tizen/20150910.041019 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Hyunil [Thu, 10 Sep 2015 01:38:10 +0000 (10:38 +0900)]
Waylandsink : modify input argument of gst_wayland_buffer_pool_remove_displaying_buffer

Change-Id: Ib75439b799da9d0e85c3ec5d6e31633e381ac740
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
9 years agoWaylandsink : fix the null pointer input to g_hash_table_remove 67/47867/2
Hyunil [Wed, 9 Sep 2015 11:41:25 +0000 (20:41 +0900)]
Waylandsink : fix the null pointer input to g_hash_table_remove

Change-Id: I6ac3d81275cfee923db0475c87e41021551dfb0e
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
9 years agoWaylandsink : Add rendering current wl_buffer for the changed geometory value 37/47737/4 accepted/tizen/mobile/20150909.140746 accepted/tizen/tv/20150909.140107 accepted/tizen/wearable/20150909.135123 submit/tizen/20150909.081902
Hyunil [Tue, 8 Sep 2015 08:41:10 +0000 (17:41 +0900)]
Waylandsink : Add rendering current wl_buffer for the changed geometory value

Change-Id: I00a7a23918829331fde302f7c99137306dd6f77f
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
9 years agoWaylandsink : Add handling displaying buffer 29/47629/5 accepted/tizen/mobile/20150908.074003 accepted/tizen/tv/20150908.074027 accepted/tizen/wearable/20150908.074017 submit/tizen/20150908.043219
Hyunil [Mon, 7 Sep 2015 08:04:47 +0000 (17:04 +0900)]
Waylandsink : Add handling displaying buffer

Change-Id: I953a830e746f4b0769ce2a81dab6449b51ce92e3
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
9 years agoWaylandsink : Add rotate, display_geometry_method, orientation and flip property 30/47130/4 accepted/tizen/mobile/20150902.101408 accepted/tizen/tv/20150902.101424 accepted/tizen/wearable/20150902.101437 submit/tizen/20150902.072927
Hyunil [Mon, 31 Aug 2015 05:40:40 +0000 (14:40 +0900)]
Waylandsink : Add rotate, display_geometry_method, orientation and flip property

Change-Id: I7478aca24d468ed2e14e8d7e31566c0748fb102f
Signed-off-by: Hyunil <hyunil46.park@samsung.com>
9 years agoImplement tizen buffer support in shmsink/src 20/46220/1 accepted/tizen/mobile/20150820.043515 accepted/tizen/tv/20150820.043527 accepted/tizen/wearable/20150820.043533 submit/tizen/20150820.013834
Hyongtaek Lim [Tue, 18 Aug 2015 06:58:13 +0000 (15:58 +0900)]
Implement tizen buffer support in shmsink/src

Signed-off-by: Hyongtaek Lim <hyongtaek.lim@samsung.com>
Change-Id: I2bb1df0c50157130d8bcb880aab9c51159f2d893

9 years agoWaylandsink : initialize display, window, pool and display_name to NULL in waylandsin... 98/45198/1 accepted/tizen/mobile/20150804.000105 accepted/tizen/tv/20150804.000117 accepted/tizen/wearable/20150804.000134 submit/tizen/20150803.122238
Hyunil Park [Mon, 3 Aug 2015 11:47:23 +0000 (20:47 +0900)]
Waylandsink : initialize display, window, pool and display_name to NULL in waylandsink finalize

Change-Id: I3021cf4b76d0381558eb08a3a44fb624b49dc553
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years agowaylandsink : avoid warning message (64bit build) 14/44914/1 accepted/tizen/mobile/20150730.074426 accepted/tizen/tv/20150730.074658 accepted/tizen/wearable/20150730.074848 submit/tizen/20150730.015822
Hyunil Park [Wed, 29 Jul 2015 10:05:06 +0000 (19:05 +0900)]
waylandsink : avoid warning message (64bit build)

Change-Id: Id3b23f38db8fe2b9ea23b96ff9440feab0d42237
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years agoWaylandsink : release last wl_buffer 59/44659/2 accepted/tizen/mobile/20150727.093222 accepted/tizen/tv/20150727.093233 accepted/tizen/wearable/20150727.093253 submit/tizen/20150727.070750
Hyunil Park [Fri, 24 Jul 2015 10:07:12 +0000 (19:07 +0900)]
Waylandsink : release last wl_buffer

Change-Id: I0638cf3e6651096a873ad1cdb3fdeadd3199e9d6
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years agousing tizen-extension wayland protocol instead of including *protocol.c directly 42/44442/1
Boram Park [Mon, 20 Jul 2015 11:23:19 +0000 (20:23 +0900)]
using tizen-extension wayland protocol instead of including *protocol.c directly

Change-Id: Icf5852b855a5b146055bd7bea0709b97d59bdf17

9 years agoWaylandsink : 1. change video format name for SN12 and ST12 89/43789/2
Hyunil Park [Tue, 14 Jul 2015 04:42:51 +0000 (13:42 +0900)]
Waylandsink : 1. change video format name for SN12 and ST12
              2. gst_wayland_compositor_release_all_buffers function is used for Normal Video format only.

Change-Id: I50486eaf1f474ea92a9c324515bc4c1c58b56a67
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years ago1. Wayalndsink : 1. Add Zero copy logic for H/W codec 33/42333/2 accepted/tizen/mobile/20150626.210113 accepted/tizen/tv/20150626.210123 accepted/tizen/wearable/20150626.210131 submit/tizen/20150626.083735
Hyunil Park [Fri, 26 Jun 2015 03:47:21 +0000 (12:47 +0900)]
1. Wayalndsink : 1. Add Zero copy logic for H/W codec
             2. Add MMVideoBuffer Type
2. remove Cairo buildrequire.

Change-Id: Ib7ddaed67f34feb6d7952369d96d6c77d19e4e3a
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years agoChange spec and configure.ac for adding libtbm and libdrm 13/41313/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150615.160120 accepted/tizen/common/20150612.144255 accepted/tizen/mobile/20150613.021721 accepted/tizen/tv/20150613.042647 accepted/tizen/wearable/20150613.021743 submit/tizen/20150612.110900 submit/tizen_3.0.2015.q2_common/20150615.075539
Hyunil Park [Fri, 12 Jun 2015 10:35:47 +0000 (19:35 +0900)]
Change spec and configure.ac for adding libtbm and libdrm

Change-Id: I98b85501b51091447d4e5bd515deda75336e6b28
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years ago[Waylandsink] 1. Apply tizen_buffer_pool 80/40480/4 accepted/tizen/common/20150605.124505 accepted/tizen/mobile/20150606.053042 accepted/tizen/tv/20150606.053747 accepted/tizen/wearable/20150606.054601 submit/tizen/20150605.043418
Hyunil Park [Thu, 4 Jun 2015 07:47:02 +0000 (16:47 +0900)]
[Waylandsink] 1. Apply tizen_buffer_pool
              2. S/W Codec can acquire wl_buffer from tizen_buffer_pool.

Change-Id: I38d765ae8a11da11137d73dda97c0b5f0db72bf5
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years ago[waylandsink] Add tizne subsurface protocol 41/39641/1 accepted/tizen/common/20150522.093815 accepted/tizen/mobile/20150523.035343 accepted/tizen/tv/20150523.034903 accepted/tizen/wearable/20150523.035121 submit/tizen/20150522.062653
Hyunil Park [Wed, 20 May 2015 08:58:11 +0000 (17:58 +0900)]
[waylandsink] Add tizne subsurface protocol
1. video subsurface place under UI subsurface

Change-Id: I0f74a62acd06537242c6a36c0bc9a6220cb0795f
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years ago[Waylandsink] 1. Add exception code for resetting wl_surface and wl_display 50/38050/3 accepted/tizen/common/20150414.100116 accepted/tizen/mobile/20150415.015044 accepted/tizen/tv/20150415.012609 accepted/tizen/wearable/20150415.013824 submit/tizen/20150414.023516
Hyunil Park [Fri, 10 Apr 2015 07:44:37 +0000 (16:44 +0900)]
[Waylandsink] 1. Add exception code for resetting wl_surface and wl_display
              2. Modify pkgconfig, spec and  Makefile for Wayland pc file

Change-Id: Id600cd70011286714979315cf79b7244beab18a0
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
9 years agoDefine upstream branch name to fix build error on OBS 76/35276/1 accepted/tizen/common/20150223.101139 accepted/tizen/mobile/20150213.002048 accepted/tizen/tv/20150212.125244 accepted/tizen/wearable/20150213.002122 submit/tizen/20150212.065812 submit/tizen_common/20150213.054257
Jeongmo Yang [Wed, 11 Feb 2015 10:11:48 +0000 (19:11 +0900)]
Define upstream branch name to fix build error on OBS

Change-Id: I71214a2246840abd6d772d02b50996823f49880e
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
9 years agoRelease 1.4.1 97/35097/3 submit/tizen/20150211.042625
Jeongmo Yang [Mon, 9 Feb 2015 05:53:56 +0000 (14:53 +0900)]
Release 1.4.1

Change-Id: Ia6522529f556a9ad98044e17394f17810f0fbeae
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
9 years agorebase to upstream 1.2.4 release
Yan Yin [Thu, 19 Jun 2014 02:57:25 +0000 (10:57 +0800)]
rebase to upstream 1.2.4 release

Change-Id: I8f37e48b2002ae9b5828e9d048288267adbea819

9 years agoenable uvch264 plugin for TIVI-493
Yan Yin [Wed, 5 Mar 2014 06:42:26 +0000 (14:42 +0800)]
enable uvch264 plugin for TIVI-493

Change-Id: I7ac1a55ea292b82fe82464dc04fe44ae8524b62e

9 years agopackaging: support non X11 configuration (wayland)
Philippe Coval [Thu, 6 Feb 2014 11:55:56 +0000 (12:55 +0100)]
packaging: support non X11 configuration (wayland)

Change-Id: I20d0c8cfff1e70f053c262928bc3ce537a09dedb
Bug-Tizen: PTREL-653
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
9 years agopackaging: add conditional build with wayland
Stephane Desneux [Mon, 7 Oct 2013 14:55:29 +0000 (16:55 +0200)]
packaging: add conditional build with wayland

Change-Id: I04e3fe0baa23f9fdef81248a66a0e550130b2bcc

9 years agopackaging: Initial packaging on 1.2.0 for Tizen
Yan Yin [Wed, 9 Oct 2013 08:28:58 +0000 (16:28 +0800)]
packaging: Initial packaging on 1.2.0 for Tizen

Change-Id: I946e19384f8a63b9618cdf2d675b1d63995c5369

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

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

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

10 years agogl: check null before unref GstGLDisplay
Wang Xin-yu (王昕宇) [Wed, 20 Aug 2014 01:37:01 +0000 (09:37 +0800)]
gl: check null before unref GstGLDisplay

10 years agogl: don't take an extra ref on the display on set_context
Matthew Waters [Tue, 19 Aug 2014 10:14:22 +0000 (20:14 +1000)]
gl: don't take an extra ref on the display on set_context

gst_context_get_gl_display() returns a ref.  Don't take another in
gst_object_replace().

10 years agoglmixer: unref the GstGLUpload in the pad if freed while running
Matthew Waters [Tue, 19 Aug 2014 07:01:36 +0000 (17:01 +1000)]
glmixer: unref the GstGLUpload in the pad if freed while running

Dynamic pipelines that get and release the sink pads will finalize
the pad without going through gst_gl_mixer_stop() which is where the
upload object is usually freed.  Don't leak objects in such case.

10 years agoglvideomixer: don't clobber unnecessary GstVideoInfo fields
Matthew Waters [Tue, 19 Aug 2014 04:44:29 +0000 (14:44 +1000)]
glvideomixer: don't clobber unnecessary GstVideoInfo fields

otherwise we might clobber other important fields such as the frame rate.

10 years agoglvideomixer: avoid gl resource race condition between different thread
Wang Xin-yu (王昕宇) [Fri, 15 Aug 2014 03:51:21 +0000 (23:51 -0400)]
glvideomixer: avoid gl resource race condition between different thread

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

10 years agotsdemux: remove pads when resetting the element
Thiago Santos [Tue, 19 Aug 2014 03:01:28 +0000 (00:01 -0300)]
tsdemux: remove pads when resetting the element

Otherwise the pads will be there if it is restarted and the stream
can be a completely different one.

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

10 years agoscenechange: fix crash on startup
Vineeth T M [Thu, 14 Aug 2014 04:49:13 +0000 (10:19 +0530)]
scenechange: fix crash on startup

gst_video_frame_map() was using the oldinfo GstVideoInfo
before it's been populated, resulting in a crash right
at the start.

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

10 years agosbcenc: Unref output caps in error cases
Sebastian Rasmussen [Fri, 8 Aug 2014 23:29:30 +0000 (01:29 +0200)]
sbcenc: Unref output caps in error cases

gst_caps_intersect() returns a reference to a caps object which in
the normal case is consumed, but in error cases must be unreferenced.

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

10 years agoopusenc: Unref pad template caps after usage
Sebastian Rasmussen [Fri, 8 Aug 2014 12:08:19 +0000 (14:08 +0200)]
opusenc: Unref pad template caps after usage

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

10 years agoassrender: improve negotiation
Thiago Santos [Mon, 11 Aug 2014 15:22:44 +0000 (12:22 -0300)]
assrender: improve negotiation

Check if downstream supports overlay meta, if possible use it and
if not fallback to no-overlay caps

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

10 years agoassrender: always intersect with the filter caps
Thiago Santos [Mon, 11 Aug 2014 15:21:28 +0000 (12:21 -0300)]
assrender: always intersect with the filter caps

Avoids returning values that peers can't use

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

10 years agodvbsuboverlay: improve negotiation
Thiago Santos [Mon, 11 Aug 2014 14:35:01 +0000 (11:35 -0300)]
dvbsuboverlay: improve negotiation

Check if downstream supports overlay meta, if possible use it and
if not fallback to no-overlay caps

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

10 years agodvbsuboverlay: always intersect with the filter in getcaps
Thiago Santos [Mon, 11 Aug 2014 14:33:28 +0000 (11:33 -0300)]
dvbsuboverlay: always intersect with the filter in getcaps

Avoids returning unsupported caps to peers

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

10 years agowrappercamerabinsrc: Unref elements after usage
Sebastian Rasmussen [Sat, 9 Aug 2014 09:36:38 +0000 (11:36 +0200)]
wrappercamerabinsrc: Unref elements after usage

gst_bin_get_by_name() and gst_bin_get_by_interface() both return
references to elements that need to be unreferenced after usage.

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

10 years agoopenal: Unref pad template caps after usage
Sebastian Rasmussen [Fri, 8 Aug 2014 23:27:53 +0000 (01:27 +0200)]
openal: Unref pad template caps after usage

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

10 years agodirectsoundsrc: Avoid leaking copy of caps object
Sebastian Rasmussen [Sat, 9 Aug 2014 11:22:42 +0000 (13:22 +0200)]
directsoundsrc: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.

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

10 years agopvrvideosink: Avoid leaking bufferpool configuration
Sebastian Rasmussen [Sat, 9 Aug 2014 11:24:00 +0000 (13:24 +0200)]
pvrvideosink: Avoid leaking bufferpool configuration

gst_buffer_pool_get_config() returns a copy to the bufferpool's
configuration, which must be passed to gst_structure_free() after
use if not given away to gst_buffer_pool_set_config().

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

10 years agoamcvideoenc: Avoid leaking copy of caps object
Sebastian Rasmussen [Sat, 9 Aug 2014 11:17:17 +0000 (13:17 +0200)]
amcvideoenc: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.
Also remove the incorrect comment to avoid confusion in the future.

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

10 years agogstgsmenc: Unref caps object after usage
Sebastian Rasmussen [Sat, 9 Aug 2014 12:27:34 +0000 (14:27 +0200)]
gstgsmenc: Unref caps object after usage

gst_audio_encoder_set_output_format() does not consume caps, so
unreference that object instead.

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

10 years agointerlace: fix caps refcounting
Sebastian Rasmussen [Sat, 9 Aug 2014 11:12:14 +0000 (13:12 +0200)]
interlace: fix caps refcounting

tcaps was unrefed when it shouldn't have been unrefed
in some cases.

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

10 years agodvbsuboverlay: Avoid leaking copy of caps object
Sebastian Rasmussen [Sat, 9 Aug 2014 11:09:52 +0000 (13:09 +0200)]
dvbsuboverlay: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.

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

10 years agovtenc: Avoid leaking caps object and its copy
Sebastian Rasmussen [Sat, 9 Aug 2014 11:20:41 +0000 (13:20 +0200)]
vtenc: Avoid leaking caps object and its copy

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak. Also
the caps are pushed as an event downstream, but this doesn't consume the
caps so it must still be unreferenced.

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

10 years agoelement-maker: Avoid leaking copy of caps object
Sebastian Rasmussen [Sat, 9 Aug 2014 11:27:00 +0000 (13:27 +0200)]
element-maker: Avoid leaking copy of caps object

gst_pad_get_pad_template_caps() returns a reference which is unreferenced,
so creating a copy using gst_caps_copy() results in a reference leak.

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

10 years agovideoaggregator: Unref allowed caps after usage
Sebastian Rasmussen [Sat, 9 Aug 2014 09:17:44 +0000 (11:17 +0200)]
videoaggregator: Unref allowed caps after usage

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

10 years agoladspa: Unref pad template caps after usage
Sebastian Rasmussen [Fri, 8 Aug 2014 23:25:21 +0000 (01:25 +0200)]
ladspa: Unref pad template caps after usage

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

10 years agodecklink: 59.94fps is 60000/1001, not 30000/1001
Sebastian Dröge [Fri, 1 Aug 2014 10:38:44 +0000 (12:38 +0200)]
decklink: 59.94fps is 60000/1001, not 30000/1001

And also change 30/1 to 60/1 for one 60fps mode.

10 years agocodecparsers_h264: initialize some fields of pic_timing structure
Aurélien Zanelli [Fri, 1 Aug 2014 14:40:49 +0000 (16:40 +0200)]
codecparsers_h264: initialize some fields of pic_timing structure

Otherwise pic timing structure can have invalid cpb_removal_delay,
dpb_output_delay or pic_struct_present_flag which are blindly retrieved
in h264parse.

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

10 years agodecklinksink: Initialize pixel format to bmdFormat8BitYUV
Sebastian Dröge [Fri, 1 Aug 2014 16:02:10 +0000 (18:02 +0200)]
decklinksink: Initialize pixel format to bmdFormat8BitYUV

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

10 years agodecklinksink: Catch errors during data flow and error out properly
Sebastian Dröge [Fri, 1 Aug 2014 14:58:23 +0000 (16:58 +0200)]
decklinksink: Catch errors during data flow and error out properly

Otherwise we will just deadlock the thread if e.g. scheduling a video
frame fails for whatever reason.

10 years agompegtspacketizer: Store PCR time/byte offsets in 64 bit integers
Sebastian Dröge [Tue, 5 Aug 2014 09:45:55 +0000 (11:45 +0200)]
mpegtspacketizer: Store PCR time/byte offsets in 64 bit integers

32 bit integers are going to overflow, especially the PCR offset to
the first PCR will overflow after about 159 seconds. This makes playback
of streams stop at 159 seconds as suddenly the timestamps are starting
again from 0. Now we have a few more years time until it happens again
and 64 bits are too small.

10 years agodashdemux: support downloading segments in reverse order
George Kiagiadakis [Wed, 6 Aug 2014 15:11:20 +0000 (18:11 +0300)]
dashdemux: support downloading segments in reverse order

When a seek with a negative rate is requested, find the target
segment where gstsegment.stop belongs in and then download from
this segment backwards until the first segment.

This allows proper reverse playback.

10 years agogl/docs: remove superflous 'the'
Matthew Waters [Fri, 1 Aug 2014 07:51:08 +0000 (17:51 +1000)]
gl/docs: remove superflous 'the'

10 years agoglupload: don't determine if frame needs upload by pointer compare
Wang Xin-yu (王昕宇) [Wed, 6 Aug 2014 12:15:38 +0000 (08:15 -0400)]
glupload: don't determine if frame needs upload by pointer compare

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

10 years agodashdemux: return the error to the source immediately to stop faster
Thiago Santos [Thu, 31 Jul 2014 23:52:39 +0000 (20:52 -0300)]
dashdemux: return the error to the source immediately to stop faster

When flushing, this will prevent dashdemux from trying to download more
fragments or more chunks of the same fragment before stopping.

Also improves the error handling to not transform everything non-ok into
an error.

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

10 years agompegtspacketizer: avoid timestamp overflows
Thiago Santos [Tue, 29 Jul 2014 05:11:54 +0000 (02:11 -0300)]
mpegtspacketizer: avoid timestamp overflows

Cause timing to break in the pipeline that can lead to a stall

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

10 years agogl: document GST_GL_* environment variables
Matthew Waters [Fri, 1 Aug 2014 06:41:13 +0000 (16:41 +1000)]
gl: document GST_GL_* environment variables

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

10 years agoglimagesink: keep the uploaded buffer around on successful redisplay
Matthew Waters [Tue, 29 Jul 2014 03:25:22 +0000 (13:25 +1000)]
glimagesink: keep the uploaded buffer around on successful redisplay

We might need it later to perform a redisplay.  GstGLUpload will take
of releasing the previous buffer when it receives a new buffer.

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

10 years agoglmemory: reenable the texture_rg support for !eagl
Matthew Waters [Tue, 29 Jul 2014 01:47:55 +0000 (11:47 +1000)]
glmemory: reenable the texture_rg support for !eagl

The GST_GL_HAVE_PLATFORM_EAGL is always defined we need to compare
against the value instead.

10 years agoopencv templatematch: Set caps to BGR order
David Rothlisberger [Fri, 15 Jun 2012 12:19:06 +0000 (13:19 +0100)]
opencv templatematch: Set caps to BGR order

templatematch operates on BGR data. In fact, OpenCV's IplImage always
stores color image data in BGR order -- this isn't documented at all in
the OpenCV source code, but there are hints around the web (see for
example
http://www.cs.iit.edu/~agam/cs512/lect-notes/opencv-intro/opencv-intro.html#SECTION00041000000000000000
and http://www.comp.leeds.ac.uk/vision/opencv/iplimage.html ).

gst_templatematch_load_template loads the template (the image to find)
from disk using OpenCV's cvLoadImage, so it is stored in an IplImage in
BGR order. But in gst_templatematch_chain, no OpenCV conversion
functions are used: the imageData pointer of the IplImage for the video
frame (the image to search in) is just set to point to the raw buffer
data. Without this fix, that raw data is in RGB order, so the call to
cvMatchTemplate ends up comparing the template's Blue channel against
the frame's Red channel, producing very poor results.

10 years agotemplatematch: mark pads as proxy caps
Thiago Santos [Mon, 28 Jul 2014 16:10:35 +0000 (13:10 -0300)]
templatematch: mark pads as proxy caps

Allows negotiation to happen properly

10 years agogl: fix multi gl object leaks
Wang Xin-yu (王昕宇) [Wed, 23 Jul 2014 02:25:31 +0000 (10:25 +0800)]
gl: fix multi gl object leaks

1. fix FBO leaks in decide_allocation
2. fix texture leaks in decide_allocation and reset
3. fix texture leaks in FBO incomplete error path

10 years agotsdemux: Do not scan for keyframe when in push mode.
Mathieu Duponchelle [Mon, 21 Jul 2014 16:22:18 +0000 (18:22 +0200)]
tsdemux: Do not scan for keyframe when in push mode.

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

10 years agotsdemux: Do not scan for a keyframe in non-accurate mode.
Mathieu Duponchelle [Mon, 21 Jul 2014 16:21:41 +0000 (18:21 +0200)]
tsdemux: Do not scan for a keyframe in non-accurate mode.

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

10 years agoopenjpeg: Don't remember -lopenjp2 as libs when falling back to openjpeg1
Sebastian Dröge [Mon, 21 Jul 2014 15:34:52 +0000 (17:34 +0200)]
openjpeg: Don't remember -lopenjp2 as libs when falling back to openjpeg1

10 years agogl: Reorder CFLAGS to include in-source dirs first in examples
Руслан Ижбулатов [Mon, 21 Jul 2014 11:07:28 +0000 (11:07 +0000)]
gl: Reorder CFLAGS to include in-source dirs first in examples

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

10 years agoopenjpeg: Win32-compatible OpenJPEG-2.0 detection
Руслан Ижбулатов [Tue, 6 May 2014 09:28:14 +0000 (09:28 +0000)]
openjpeg: Win32-compatible OpenJPEG-2.0 detection

OpenJPEG 2.0 API uses stdcall on W32 by default. This prevents normal
autoconf library macros from finding its functions.
A more compatible check is to acutally link a program that includes a
real header.

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

10 years agoopenni2src: Fix unitialized variable compiler warning
Sebastian Dröge [Mon, 21 Jul 2014 08:14:17 +0000 (10:14 +0200)]
openni2src: Fix unitialized variable compiler warning

gstopenni2src.cpp:721:14: error: variable 'oni_ts' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
  } else if (src->color->isValid () && src->sourcetype == SOURCETYPE_COLOR) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstopenni2src.cpp:752:26: note: uninitialized use occurs here
  GST_BUFFER_PTS (buf) = oni_ts - src->oni_start_ts;
                         ^~~~~~
gstopenni2src.cpp:721:10: note: remove the 'if' if its condition is always true
  } else if (src->color->isValid () && src->sourcetype == SOURCETYPE_COLOR) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gstopenni2src.cpp:721:14: error: variable 'oni_ts' is used uninitialized whenever '&&' condition is false [-Werror,-Wsometimes-uninitialized]
  } else if (src->color->isValid () && src->sourcetype == SOURCETYPE_COLOR) {
             ^~~~~~~~~~~~~~~~~~~~~~
gstopenni2src.cpp:752:26: note: uninitialized use occurs here
  GST_BUFFER_PTS (buf) = oni_ts - src->oni_start_ts;
                         ^~~~~~
gstopenni2src.cpp:721:14: note: remove the '&&' if its condition is always true
  } else if (src->color->isValid () && src->sourcetype == SOURCETYPE_COLOR) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~
gstopenni2src.cpp:642:18: note: initialize the variable 'oni_ts' to silence this warning
  uint64_t oni_ts;
                 ^
                  = 0

10 years agofacedetect: improve enum GstFaceDetectUpdates descriptions
Nicola Murino [Mon, 21 Jul 2014 19:03:26 +0000 (21:03 +0200)]
facedetect: improve enum GstFaceDetectUpdates descriptions

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

10 years agofacedetect: make updates on_change works as expected
Nicola Murino [Wed, 21 May 2014 10:59:57 +0000 (12:59 +0200)]
facedetect: make updates on_change works as expected

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

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

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

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

10 years agowrappercamerabinsrc: set src to ready when there are no pending buffers
Thiago Santos [Wed, 16 Jul 2014 21:27:15 +0000 (18:27 -0300)]
wrappercamerabinsrc: set src to ready when there are no pending buffers

Setting to ready will block waiting for buffers to be reclaimed, so flush
before setting to null to make sure no buffers are pending

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

10 years agoexamples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0
Tim-Philipp Müller [Thu, 17 Jul 2014 09:05:47 +0000 (10:05 +0100)]
examples: fix compilation of gl fxtest example on win32 with Gtk+ 3.0

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

10 years agoopenslesringbuffer: Provide the size of our array to GetDestinationOutputDeviceIDs
Sebastian Dröge [Wed, 16 Jul 2014 22:11:48 +0000 (00:11 +0200)]
openslesringbuffer: Provide the size of our array to GetDestinationOutputDeviceIDs

Otherwise it does not and just fails. It needs to know the size of the
array to not write too much to it.

10 years agoopenslessink: Silence some error debug output to log output
Sebastian Dröge [Wed, 16 Jul 2014 22:11:21 +0000 (00:11 +0200)]
openslessink: Silence some error debug output to log output

These are not really errors, just unsupported features we don't
necessarily need.

10 years agoaggregator: Reset flow_return *after* stopping the srcpad task.
Mathieu Duponchelle [Wed, 16 Jul 2014 14:57:35 +0000 (16:57 +0200)]
aggregator: Reset flow_return *after* stopping the srcpad task.

Otherwise it might be set in an already running aggregate function.

10 years agoaggregator: Flush sinkpads when stopping
Thibault Saunier [Thu, 10 Jul 2014 11:18:21 +0000 (13:18 +0200)]
aggregator: Flush sinkpads when stopping

All values are meaningless in that case, so we should make sure that
we clean everything

10 years agoaggregator: Do not forget to reset the flow return when stoping
Thibault Saunier [Thu, 10 Jul 2014 11:15:55 +0000 (13:15 +0200)]
aggregator: Do not forget to reset the flow return when stoping

Setting it to FLUSHING when the element is not started, and to OK
when it starts.

10 years agoaggregator: Handle event seqnum
Thibault Saunier [Tue, 8 Jul 2014 14:48:08 +0000 (16:48 +0200)]
aggregator: Handle event seqnum

10 years agomxfmux: Avoid taking unnecessary ref
Sebastian Rasmussen [Sun, 13 Jul 2014 14:07:02 +0000 (16:07 +0200)]
mxfmux: Avoid taking unnecessary ref

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

10 years agogl: Include GL_CFLAGS while checking for GL typedefs
Mart Raudsepp [Wed, 16 Jul 2014 13:31:27 +0000 (16:31 +0300)]
gl: Include GL_CFLAGS while checking for GL typedefs

Otherwise those checks may fail at configure time if they contain extra
include paths, while at build time they are included, potentially causing
incompatible typedefs between system GL headers and gstreamer compatibility
prototypes.

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

10 years agogl: Always include EGL_CFLAGS in GL_CFLAGS when EGL_LIBS is added to GL_LIBS
Mart Raudsepp [Wed, 16 Jul 2014 13:29:10 +0000 (16:29 +0300)]
gl: Always include EGL_CFLAGS in GL_CFLAGS when EGL_LIBS is added to GL_LIBS

They should be handled in tandem, in case any EGL provider could require some
CFLAGS and set them (possibly once moved to prefer pkg-config files),
such as for a custom header location.

10 years agopo: update POTFILES
Piotr Drąg [Mon, 17 Mar 2014 15:09:46 +0000 (16:09 +0100)]
po: update POTFILES

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

10 years agod3dvideosink: Open Direct3D devices in a threadsafe way
Sebastian Dröge [Tue, 15 Jul 2014 11:29:24 +0000 (13:29 +0200)]
d3dvideosink: Open Direct3D devices in a threadsafe way

Otherwise we'll get crashes when using the device from multiple
threads, e.g. when using multiple sinks at once.

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

10 years agocurlsshsink: Include gst.h and other stuff before anything else
Sebastian Dröge [Fri, 11 Jul 2014 19:15:59 +0000 (21:15 +0200)]
curlsshsink: Include gst.h and other stuff before anything else

10 years agowrappercamerabinsrc: Fix caps filter caps proxying
Nicolas Dufresne [Fri, 11 Jul 2014 14:40:42 +0000 (10:40 -0400)]
wrappercamerabinsrc: Fix caps filter caps proxying

The notify signal is triggered when caps is changed. But instead of
proxying the fixed caps, we query for the caps. Hence, when we go to
READY state, we endup setting template caps on the proxied caps
filter instead of NULL, which leads to negoitation failure. Correctly
proxy NULL caps if this is the new caps. Fixes not negotiated error
when running in cheese. Also fix a leak of caps string in one of the
trace.

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

10 years agogl: Always build gstglmixer, not only when full OpenGL support is enabled
Sebastian Dröge [Fri, 11 Jul 2014 11:58:55 +0000 (13:58 +0200)]
gl: Always build gstglmixer, not only when full OpenGL support is enabled

10 years agocurl: Use winsock2 instead and the GLib macro for checking if we're on Windows
Sebastian Dröge [Fri, 11 Jul 2014 11:25:37 +0000 (13:25 +0200)]
curl: Use winsock2 instead and the GLib macro for checking if we're on Windows

10 years agomotioncells: Use no network API if not required
Sebastian Dröge [Fri, 11 Jul 2014 11:25:18 +0000 (13:25 +0200)]
motioncells: Use no network API if not required

10 years agoext: Include winsock.h on Windows when required
Alexey Pavlov [Fri, 11 Jul 2014 11:21:21 +0000 (13:21 +0200)]
ext: Include winsock.h on Windows when required

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