Edward Hervey [Wed, 23 May 2012 06:39:21 +0000 (08:39 +0200)]
mpegtsbase: Speed up _is_psi()
By making it inline and simplifying the bit macros
Mark Nauwelaerts [Tue, 22 May 2012 19:00:31 +0000 (21:00 +0200)]
mpegvideoparse: avoid scanning for start codes twice
... since a previous terminating start code serves as subsequent start code.
Edward Hervey [Tue, 22 May 2012 17:11:29 +0000 (19:11 +0200)]
dvb: Fixups for latest API changes
Julian Scheel [Tue, 10 Apr 2012 10:36:15 +0000 (12:36 +0200)]
tsdemux: Add language code to taglist.
Read the language codes for tracks from the mpegts descriptors and add it into
the pads taglist.
https://bugzilla.gnome.org/show_bug.cgi?id=673896
Edward Hervey [Mon, 21 May 2012 15:53:37 +0000 (17:53 +0200)]
tsdemux: Adapt to new packetizer API
We no longer use GstBufferList and instead copy the incoming data
into newly allocated memory.
This makes tsdemux behaviour 3 to 4 times faster.
Edward Hervey [Mon, 21 May 2012 15:53:15 +0000 (17:53 +0200)]
tsparse: Adapt to new packetizer API
Edward Hervey [Mon, 21 May 2012 15:52:46 +0000 (17:52 +0200)]
mpegtsbase: Adapt to new packetizer behaviour
Edward Hervey [Mon, 21 May 2012 15:48:54 +0000 (17:48 +0200)]
mpegtspacketizer: Avoid usage of GstBuffer internally
The overhead of creating/using 188 byte GstBuffer from GstAdapter
is too expensive.
We now peek the next packet, and provide a data/size which is only
valid until the packetizerpacket is cleared.
In addition, cleanup all the internal code to deal with that new
behaviour and remove double-checks which are no longer needed.
The section_length is now the corrected section_length (i.e. with
the additional 3 bytes).
Avoid using gst_adapter_prev_timestamp and instead track
the timestamp ourself.
Edward Hervey [Sun, 20 May 2012 11:27:29 +0000 (13:27 +0200)]
mpegtspacketizer: Detect PCR wraparound in skew code
If the received PCR is going backwards (by a safe margin), include
that wraparound for further calculation.
https://bugzilla.gnome.org/show_bug.cgi?id=674536
Mark Nauwelaerts [Tue, 22 May 2012 12:48:40 +0000 (14:48 +0200)]
videoparsers: avoid repeated caps setting
Mark Nauwelaerts [Tue, 22 May 2012 12:00:36 +0000 (14:00 +0200)]
mpegvideoparse: tweak codec parser API and adjust parser element
... to allow for more efficient parsing and (more) consistent parsing API
among various codec parsers.
Fixes #672701.
Conflicts:
gst/videoparsers/gstmpegvideoparse.c
Mark Nauwelaerts [Tue, 22 May 2012 10:30:07 +0000 (12:30 +0200)]
codecparsers: mpeg4: fixup documentation spelling
Nicolas Dufresne [Tue, 8 May 2012 20:51:11 +0000 (16:51 -0400)]
mpegvideoparser: Optimize scanning for start code
https://bugzilla.gnome.org/show_bug.cgi?id=672701
Vincent Penquerc'h [Fri, 18 May 2012 11:46:55 +0000 (12:46 +0100)]
vp8enc: fix target bitrate config with libvpx 1.1.0
libvpx 1.1.0 disallows a bitrate of 0, which was used by
vp8enc as a default value.
Instead, we use the default libvpx bitrate, scaled to our
video size, if no bitrate was specified.
This fixes encoding VP8 video with libvpx 1.1.0.
https://bugzilla.gnome.org/show_bug.cgi?id=676245
Sebastian Dröge [Tue, 22 May 2012 09:10:24 +0000 (11:10 +0200)]
frei0r: Double properties are supposed in the range [0.0, 1.0]
Fixes bug #676137.
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