Mark Nauwelaerts [Mon, 21 May 2012 17:22:19 +0000 (19:22 +0200)]
mpegvideoparse: unobfuscate frame parsing
... and add comments and debug statements.
Fixes #674202.
Conflicts:
gst/videoparsers/gstmpegvideoparse.c
Mark Nauwelaerts [Mon, 21 May 2012 14:37:37 +0000 (16:37 +0200)]
mpegvideoparse: Revert "fix crash"
This reverts commit
91210831ee672343a296f31357144359d5c2e768.
Such explicit reset should not be needed as it is arranged for by
the baseclass in unison with monitoring for a new frame by subclass.
As such it might wrongfully hide something else going on ...
See #674073.
Mark Nauwelaerts [Mon, 21 May 2012 13:24:25 +0000 (15:24 +0200)]
codecparsers: mpegvideoparser: fix buffer size check
... to mind unsigned integer wrap
Based on patch by Alban Browaeys <prahal@yahoo.com>
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=673436
Mark Nauwelaerts [Mon, 21 May 2012 13:09:02 +0000 (15:09 +0200)]
tests: mpegvideoparse: fix unit test regression
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676097
Conflicts:
tests/check/elements/mpegvideoparse.c
Tim-Philipp Müller [Sat, 19 May 2012 14:34:25 +0000 (15:34 +0100)]
autoconvert: don't access GstElementFactory structure directly
Mark Nauwelaerts [Fri, 18 May 2012 14:17:13 +0000 (16:17 +0200)]
codecparsers: mpeg4: do not expect a marker bit where not specified
Fixes #672447.
Julian Scheel [Wed, 16 May 2012 14:15:58 +0000 (16:15 +0200)]
tsdemux: flush on pusi only for payload packets
Data should not be flushed out of the tsdemux because a payload unit start
indicator (pusi) is seen in a adaptation only ts packet. If the package contains no
payload a pusi does not indicate a new PES packet, but PSI information, etc.
This fixes playback of several TS files which contain ts packets without
payload but with pusi set to 1.
https://bugzilla.gnome.org/show_bug.cgi?id=676168
Edward Hervey [Fri, 18 May 2012 08:15:15 +0000 (10:15 +0200)]
tsdemux: Don't queue data for streams that don't have a pad
This would result in an error further down, and it also avoids processing
for that data which we wouldn't be using anyway.
Edward Hervey [Fri, 18 May 2012 08:13:19 +0000 (10:13 +0200)]
tsdemux: Detect and handle scrambled packets
Users (tsdemux/mpegtsparse) can decide what to do with that
Edward Hervey [Fri, 18 May 2012 08:07:56 +0000 (10:07 +0200)]
tsdemux: Emit no-more-pads when all pads are activated
Fixes #670921 again
Luis de Bethencourt [Thu, 17 May 2012 10:15:22 +0000 (11:15 +0100)]
gaudieffects: add fallback code for orc
this includes an improved version of the burn filter, with a ~40% speed
improvement.
Luis de Bethencourt [Thu, 17 May 2012 09:49:11 +0000 (10:49 +0100)]
configure: bump the orc version required to 0.4.16
Some opcodes have changed so they would fail to build with 0.4.14
Luis de Bethencourt [Thu, 17 May 2012 08:47:08 +0000 (09:47 +0100)]
gaudieffects: use CLAMP in solarize
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
Luis de Bethencourt [Thu, 17 May 2012 08:46:37 +0000 (09:46 +0100)]
gaudieffects: use CLAMP in exclusion
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
Luis de Bethencourt [Thu, 17 May 2012 08:45:52 +0000 (09:45 +0100)]
gaudieffects: use CLAMP in dodge
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
Luis de Bethencourt [Thu, 17 May 2012 08:44:29 +0000 (09:44 +0100)]
gaudieffects: use CLAMP in chromium
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
Mark Nauwelaerts [Thu, 17 May 2012 09:47:19 +0000 (11:47 +0200)]
h264parse: also consider nal_length_size when inserting codec data
See #676174.
John Hein [Wed, 16 May 2012 20:50:48 +0000 (21:50 +0100)]
y4m: link against the right libgstvideo
https://bugzilla.gnome.org/show_bug.cgi?id=676189
Luis de Bethencourt [Wed, 16 May 2012 16:50:43 +0000 (17:50 +0100)]
gaudieffects: example pipelines with videoconvert
Luis de Bethencourt [Wed, 16 May 2012 16:49:12 +0000 (17:49 +0100)]
gaudieffects: orc-ify burn filter
Sebastian Dröge [Wed, 16 May 2012 07:12:32 +0000 (09:12 +0200)]
configure: Require core/base 0.11.91
Matej Knopp [Fri, 13 Jan 2012 23:57:20 +0000 (18:57 -0500)]
.gitignore: add visual studio IDE files and OS X .DS_Store files
https://bugzilla.gnome.org/show_bug.cgi?id=667899
Stefan Sauer [Tue, 15 May 2012 13:46:28 +0000 (15:46 +0200)]
hls: use gst api for timestamps instead of the (wrong) api from a too new glib
Conflicts:
gst/hls/gstfragment.c
Mark Nauwelaerts [Mon, 14 May 2012 09:38:21 +0000 (11:38 +0200)]
mpegtsmux: optimize output by aggregating packets
... rather than pushing each (small) packet in a separate buffer.
m2ts mode not yet optimized though.
Albert Astrals Cid [Fri, 11 May 2012 09:46:58 +0000 (11:46 +0200)]
mpegts: support items in extended event descriptor
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=672478
Wim Taymans [Mon, 14 May 2012 07:15:55 +0000 (09:15 +0200)]
curl: fix compilation
Don't use deprecated thread API
Sebastian Dröge [Sun, 13 May 2012 15:00:39 +0000 (17:00 +0200)]
Back to development
Sebastian Dröge [Sun, 13 May 2012 14:43:25 +0000 (16:43 +0200)]
Release 0.11.91
Sebastian Dröge [Sun, 13 May 2012 14:43:02 +0000 (16:43 +0200)]
Update .po files
Sebastian Dröge [Sun, 13 May 2012 13:56:17 +0000 (15:56 +0200)]
Automatic update of common submodule
From dc70203 to 3429ba6
Sebastian Dröge [Sun, 13 May 2012 13:24:52 +0000 (15:24 +0200)]
curl: Fix equality comparison with extraneous parantheses compiler warning
gstcurlhttpsink.c:411:27: error: equality comparison with extraneous parentheses
Tim-Philipp Müller [Sat, 12 May 2012 11:08:42 +0000 (12:08 +0100)]
check: make git ignore new unit test binaries
Sebastian Rasmussen [Wed, 25 Apr 2012 17:46:53 +0000 (19:46 +0200)]
curl: new curlsmtpsink element
https://bugzilla.gnome.org/show_bug.cgi?id=653741
Patricia Muscalu [Mon, 23 Jan 2012 08:45:24 +0000 (09:45 +0100)]
curl: new curlftpsink element
http://bugzilla.gnome.org/show_bug.cgi?id=653741
Patricia Muscalu [Mon, 23 Jan 2012 08:28:10 +0000 (09:28 +0100)]
curl: new curlfilesink element
https://bugzilla.gnome.org/show_bug.cgi?id=653741
Patricia Muscalu [Mon, 23 Jan 2012 08:00:47 +0000 (09:00 +0100)]
curl: refactor curlsink, rename to curlhttpsink
Split into base, tls and http classes.
https://bugzilla.gnome.org/show_bug.cgi?id=653741
Luis de Bethencourt [Thu, 10 May 2012 20:15:42 +0000 (21:15 +0100)]
gaudieffects: consistency in templates name
Thibault Saunier [Thu, 10 May 2012 14:11:18 +0000 (10:11 -0400)]
hlsdemux: Add a connection-speed property
Conflicts:
gst/hls/gsthlsdemux.c
Thibault Saunier [Thu, 10 May 2012 14:10:14 +0000 (10:10 -0400)]
hls: Add a way to get best playlist for a specific bitrate in M3U8Client
Make use of it in hlsdemux
Youness Alaoui [Tue, 8 May 2012 17:27:15 +0000 (13:27 -0400)]
hlsdemux: Add failover protection.
Multiple streams with same bandwidth get retried
Youness Alaoui [Tue, 8 May 2012 17:04:35 +0000 (13:04 -0400)]
hlsdemux: Calculate the real bitrate and switch to the correct variant
We now calculate the actual bitrate using the download speed/size and
then switch directly to the variant that matches our bandwidth the
most.
It will also be able to handle any use case where some of the
variants are not available, and would skip them and go to the next
possible variant.
Conflicts:
gst/hls/gsthlsdemux.c
Youness Alaoui [Tue, 8 May 2012 15:34:47 +0000 (11:34 -0400)]
hlsdemux: Do not reset the sequence number in a live stream for a normal playlist update.
Only for stream switching
Thibault Saunier [Tue, 8 May 2012 15:33:50 +0000 (11:33 -0400)]
hlsdemux: If we update the playlist, make sure the sequence number is never more than 3 fragments before the end
Youness Alaoui [Tue, 8 May 2012 15:13:26 +0000 (11:13 -0400)]
hlsdemux: In a live stream, do not start from 3 fragments before the end.
Youness Alaoui [Tue, 8 May 2012 15:09:28 +0000 (11:09 -0400)]
hlsdemux: No need to store position since it's the buffer's timestamp
This also will fix the issue of having the current position different
from the actual position of the first buffer in the queue in case
the caching caused a resync of the sequence number.
Conflicts:
gst/hls/gsthlsdemux.c
Youness Alaoui [Fri, 16 Sep 2011 00:47:54 +0000 (20:47 -0400)]
hlsdemux: Fallback to previous playlist when switching if the new playlist can't be fetched
Luis de Bethencourt [Thu, 10 May 2012 12:46:27 +0000 (13:46 +0100)]
gaudieffects: consistency fixes in gstgaussblur
Luis de Bethencourt [Thu, 10 May 2012 09:47:27 +0000 (10:47 +0100)]
gaudieffects: port gaussianblur to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 16:21:30 +0000 (17:21 +0100)]
gaudieffects: port solarize to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 16:06:20 +0000 (17:06 +0100)]
gaudieffects: port exclusion to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 15:55:17 +0000 (16:55 +0100)]
gaudieffects: port dodge to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 15:30:40 +0000 (16:30 +0100)]
gaudieffects: port dilate to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 15:10:18 +0000 (16:10 +0100)]
gaudieffects: port burn to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 14:44:02 +0000 (15:44 +0100)]
gaudieffects: port chromium to GstVideoFilter
Luis de Bethencourt [Wed, 9 May 2012 13:28:09 +0000 (14:28 +0100)]
gaudieffects: use GST_DEBUG_FUNCPTR in blur
Luis de Bethencourt [Wed, 9 May 2012 12:35:46 +0000 (13:35 +0100)]
gaudieffects: port to 0.11
Luis de Bethencourt [Wed, 9 May 2012 08:49:10 +0000 (09:49 +0100)]
gaudieffects: port gaussblur to 0.11
Luis de Bethencourt [Tue, 8 May 2012 17:09:20 +0000 (18:09 +0100)]
gaudieffects: port solarize to 0.11
Luis de Bethencourt [Tue, 8 May 2012 17:09:09 +0000 (18:09 +0100)]
gaudieffects: port exclusion to 0.11
Luis de Bethencourt [Tue, 8 May 2012 16:38:22 +0000 (17:38 +0100)]
gaudieffects: port dodge to 0.11
Luis de Bethencourt [Tue, 8 May 2012 16:17:16 +0000 (17:17 +0100)]
gaudieffects: port dilate to 0.11
Luis de Bethencourt [Tue, 8 May 2012 15:50:06 +0000 (16:50 +0100)]
gaudieffects: add header to gaussblur
Luis de Bethencourt [Tue, 8 May 2012 15:39:02 +0000 (16:39 +0100)]
gaudieffects: port chromium to 0.11
Luis de Bethencourt [Tue, 8 May 2012 15:38:48 +0000 (16:38 +0100)]
gaudieffects: port burn to 0.11
Luis de Bethencourt [Tue, 8 May 2012 13:17:06 +0000 (14:17 +0100)]
controller: port to new controller location and api
Andoni Morales Alastruey [Tue, 8 May 2012 15:58:58 +0000 (17:58 +0200)]
d3dvideosink: fix deadlock when the device is lost
Andoni Morales Alastruey [Tue, 8 May 2012 16:10:30 +0000 (18:10 +0200)]
d3dvideosink: remove trailing ';' from locks defines to make gst-indent happy
Aleix Conchillo Flaque [Mon, 7 May 2012 20:13:34 +0000 (13:13 -0700)]
shmsink: fix memory corruption when a client disconnects (fixes #675640)
Also, add a check to make sure a client isn't dumped twice
Tim-Philipp Müller [Mon, 7 May 2012 22:57:08 +0000 (23:57 +0100)]
rfbsrc: call WSAStartup/Cleanup on win32
If we link against libwinsock2, we should probably call
Startup/Cleanup as well.
https://bugzilla.gnome.org/show_bug.cgi?id=675415
Marc-André Lureau [Thu, 3 May 2012 21:42:13 +0000 (23:42 +0200)]
rfbsrc: fix librfb linking on win32
libtool: link: i686-w64-mingw32-gcc -shared .libs/libgstrfbsrc.dll.def
.libs/libgstrfbsrc_la-gstrfbsrc.o -Wl,--whole-archive ./.libs/librfb.a
-Wl,--no-whole-archive -L/usr/i686-w64-mingw32/sys-root/mingw/lib
-lgstbase-0.10 -lgstreamer-0.10 -lxml2 -lgobject-2.0 -lgthread-2.0
-lgmodule-2.0 -lglib-2.0 -lintl -mms-bitfields -mms-bitfields -O2 -o
.libs/libgstrfbsrc.dll -Wl,--enable-auto-image-base -Xlinker
--out-implib -Xlinker .libs/libgstrfbsrc.dll.a
Creating library file: .libs/libgstrfbsrc.dll.a
./.libs/librfb.a(librfb_la-rfbdecoder.o): In function
`rfb_decoder_read':
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:164:
undefined reference to `_imp__recv@16'
./.libs/librfb.a(librfb_la-rfbdecoder.o): In function
`rfb_decoder_connect_tcp':
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:112:
undefined reference to `_imp__socket@12'
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:119:
undefined reference to `_imp__htons@4'
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:123:
undefined reference to `_imp__inet_addr@4'
/home/elmarco/pkg/rhel/mingw-gstreamer-plugins-bad-free/gst-plugins-bad-0.10.23/build_win32/gst/librfb/../../../gst/librfb/rfbdecoder.c:125:
undefined reference to `_imp__connect@12'
It needs -lws2_32 which is already in $(WINSOCK2_LIBS)
https://bugzilla.gnome.org/show_bug.cgi?id=675415
Andoni Morales Alastruey [Wed, 2 May 2012 15:03:46 +0000 (08:03 -0700)]
dshowvideosink: add missing casts to LPCSTR
Andoni Morales Alastruey [Thu, 3 May 2012 21:51:14 +0000 (23:51 +0200)]
dshowvideosink: lower rank of the DirectShow video sink plugin
d3dvideosink should have a higher rank as it works better.
Andoni Morales Alastruey [Wed, 2 May 2012 14:56:00 +0000 (07:56 -0700)]
dshowvideosink: Fix compilation on x64 platforms
Raimo Järvi [Sat, 5 May 2012 17:01:46 +0000 (20:01 +0300)]
Fix printf format compiler warnings on mingw-w64
https://bugzilla.gnome.org/show_bug.cgi?id=675520
Tim-Philipp Müller [Sat, 5 May 2012 17:20:33 +0000 (18:20 +0100)]
Add WINSOCK2_LIBS, remove WIN32_LIBS, fix rtmp build on Windows some more
One way of passing -lws2_32 to plugins should be enough..
Руслан Ижбулатов [Tue, 17 Apr 2012 07:44:18 +0000 (11:44 +0400)]
rtmp: link to winsock library on Windows
https://bugzilla.gnome.org/show_bug.cgi?id=674243
Руслан Ижбулатов [Fri, 4 May 2012 10:01:13 +0000 (14:01 +0400)]
configure: mark unported Windows plugins as such
https://bugzilla.gnome.org/show_bug.cgi?id=675440
Thiago Santos [Fri, 4 May 2012 20:09:58 +0000 (17:09 -0300)]
camerabin: remove unnecessary code
Thiago Santos [Fri, 4 May 2012 20:10:17 +0000 (17:10 -0300)]
camerabin: improve image capture debug
Thiago Santos [Fri, 4 May 2012 20:05:38 +0000 (17:05 -0300)]
camerabin: always force image-profile to have variable framerate
image-encodebin can't use videorate as it always store one buffer
to be able to do its timestamps/duration math. As image captures
only push one buffer at a time, this videorate behavior breaks
camerabin usage.
Youness Alaoui [Thu, 3 May 2012 23:11:57 +0000 (19:11 -0400)]
basecamerabin: Do not set the pad templates in the base class.
It is best to let the subclass define the pad templates, this would
allow the subclass to decide which caps the pads should have.
Sreerenj Balachandran [Tue, 1 May 2012 14:55:02 +0000 (17:55 +0300)]
videocontext: Remove the explicit unrefing of pad object getting from iterator.
Thiago Santos [Wed, 2 May 2012 18:35:05 +0000 (15:35 -0300)]
wrappercamerabinsrc: avoid assertion by using null caps as any
NULL caps aren't valid caps, use a reference to 'any' caps
Thiago Santos [Wed, 2 May 2012 18:24:26 +0000 (15:24 -0300)]
camerabin: Fix get/set_property for encoding profiles
Encoding profiles are objects, not boxed types
Thiago Santos [Wed, 2 May 2012 12:43:33 +0000 (09:43 -0300)]
basecamerasrc: null caps are not valid in 1.0
Use any caps for the preview-caps property, as NULL caps are
not valid caps in 1.0 anymore
Thiago Santos [Tue, 1 May 2012 18:29:37 +0000 (15:29 -0300)]
camerabin: remove custom renegotiate event
In 1.0 there is a core reconfigure event, camerabin doesn't need
its custom renegotiate event anymore
Thiago Santos [Tue, 1 May 2012 18:08:47 +0000 (15:08 -0300)]
camerabin: Use plain video encoding profile for images
Do not use jpeg as a container format for image captures, use
the plain video encoding format. It was used as a container in
0.10 to force the addition of tags to the image.
Thiago Santos [Tue, 1 May 2012 17:31:58 +0000 (14:31 -0300)]
wrappercamerabinsrc: change output-selector negotiation mode
In 0.10 camerabin2 controlled the negotiation strictly and the output-selector
wouldn't forward setcaps calls. In 0.11 the renegotiation events are already in
core and we can allow the pipeline to handle it without much control from camerabin
part (I hope), so this patch makes output-selector forward caps negotiation events
to the active pad.
Thiago Santos [Tue, 1 May 2012 17:31:20 +0000 (14:31 -0300)]
wrappercamerabinsrc: removing renegotiate handlers
gstreamer 1.0 already has the reconfigure event, remove the
custom event handling from wrappercamerabinsrc
Thiago Santos [Tue, 1 May 2012 16:28:33 +0000 (13:28 -0300)]
wrappercamerabinsrc: prevent caps renegotiation loop
Only set the zoom capsfilter caps when the new caps are different,
preventing a caps renegotiation loop.
Thiago Santos [Tue, 1 May 2012 16:15:25 +0000 (13:15 -0300)]
camerabin: example: Update prepare-window-handle message
Message name changed from prepare-xwindow-id to prepare-window-handle
Thiago Santos [Tue, 1 May 2012 16:00:16 +0000 (13:00 -0300)]
camerabin: examples: Renaming camerabin2 to camerabin
Thiago Santos [Tue, 1 May 2012 13:26:27 +0000 (10:26 -0300)]
basecamerabinsrc: updating property to new name
enable-last-buffer is now enable-last-sample
Thiago Santos [Tue, 1 May 2012 13:18:52 +0000 (10:18 -0300)]
camerabin: Replacing ffmpegcolorspace with videoconvert
Wim Taymans [Mon, 30 Apr 2012 10:36:46 +0000 (12:36 +0200)]
tsbase: unref bad packets too
Conflicts:
gst/mpegtsdemux/mpegtsbase.c
Wim Taymans [Mon, 30 Apr 2012 10:28:42 +0000 (12:28 +0200)]
tsdemux: reset the state of the stream when flushing
We need to reset the stream on a flush or else old packets could be added to the
list and leak.
Wim Taymans [Mon, 30 Apr 2012 09:05:20 +0000 (11:05 +0200)]
mpegtsbase: don't push events upstream in pull mode
In pull mode, don't push the seek event upstream.
Wind Yuan [Fri, 27 Apr 2012 02:49:07 +0000 (22:49 -0400)]
codecparser: mpeg4 type error
Wim Taymans [Tue, 1 May 2012 07:41:18 +0000 (09:41 +0200)]
mpegts: don't poke into private adapter fields
Tim-Philipp Müller [Mon, 30 Apr 2012 17:05:09 +0000 (18:05 +0100)]
tests: update camerabin(2) unit test for rename