Edward Hervey
9f7e70f754
mpegtbase: ECM/CA sections don't have a CRC
...
So don't check for it :)
Also add a bit more info in the warning message to speed up detecting
whether it's a false-positive or not.
2012-06-01 16:42:41 +02:00
Edward Hervey
8b2f229553
mpegdesc: Add more comments/info
...
Namely where they belong to
2012-05-26 15:54:51 +02:00
Edward Hervey
8aa64c5d7d
tsdemux: Make sure we have a language code before using it
2012-05-26 15:54:48 +02:00
Edward Hervey
7784c0d350
mpegtsbase: Check before getting descriptors from structure
...
Avoids spurious warnings. Not having those descriptors is nothing
fatal, so check their presence before trying to get them.
2012-05-26 15:54:44 +02:00
Edward Hervey
b6732a27d3
pesparse: Be a bit more permissive with PTS/DTS parsing
...
According to the specifications a PTS_DTS_flags value of 0x01 is forbidden.
... but there are some rare files out there that do that.
Instead of erroring out, let's warn, carry on parsing accordingly.
If the packet is really corrupted there are enough checks afterward to
detect that.
2012-05-26 15:54:41 +02:00
Edward Hervey
12f24874aa
mpegtsbase: Fix bit operation
...
"a % 8" corresponds to "a & 0x7" (and not 0xf).
spotted by Julian Scheel
2012-05-25 14:16:59 +02:00
Edward Hervey
a633347ed1
mpegtsbase: Speed up _is_psi()
...
By making it inline and simplifying the bit macros
2012-05-23 09:37:49 +02:00
Mark Nauwelaerts
c5664dcda7
mpegvideoparse: avoid scanning for start codes twice
...
... since a previous terminating start code serves as subsequent start code.
2012-05-22 21:34:10 +02:00
Julian Scheel
a0a184931a
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
2012-05-22 18:13:30 +02:00
Edward Hervey
6bf54ff850
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.
2012-05-22 17:43:38 +02:00
Edward Hervey
7fdf1cb0c8
tsparse: Adapt to new packetizer API
2012-05-22 17:43:38 +02:00
Edward Hervey
3c73d29162
mpegtsbase: Adapt to new packetizer behaviour
2012-05-22 17:43:38 +02:00
Edward Hervey
c6035d403c
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.
2012-05-22 17:43:38 +02:00
Edward Hervey
6d01f5f1b3
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
2012-05-22 16:51:25 +02:00
Mark Nauwelaerts
09209045b6
videoparsers: avoid repeated caps setting
2012-05-22 14:49:18 +02:00
Mark Nauwelaerts
28f3858b94
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
2012-05-22 14:09:47 +02:00
Sebastian Dröge
b5f5b8bf04
frei0r: Double properties are supposed in the range [0.0, 1.0]
...
Fixes bug #676137 .
2012-05-22 11:20:06 +02:00
Mark Nauwelaerts
1f0c18daf2
mpegvideoparse: unobfuscate frame parsing
...
... and add comments and debug statements.
Fixes #674202 .
Conflicts:
gst/videoparsers/gstmpegvideoparse.c
2012-05-21 20:31:27 +02:00
Mark Nauwelaerts
35a58df012
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 .
2012-05-21 20:25:01 +02:00
Tim-Philipp Müller
508b9ff51a
autoconvert: don't access GstElementFactory structure directly
2012-05-19 15:34:25 +01:00
Julian Scheel
5536bcf8b8
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
2012-05-18 11:12:20 +02:00
Edward Hervey
e75612c3fd
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.
2012-05-18 11:11:37 +02:00
Edward Hervey
8a4fd8358d
tsdemux: Detect and handle scrambled packets
...
Users (tsdemux/mpegtsparse) can decide what to do with that
2012-05-18 11:11:31 +02:00
Edward Hervey
fa4b92e743
tsdemux: Emit no-more-pads when all pads are activated
...
Fixes #670921 again
2012-05-18 11:11:25 +02:00
Luis de Bethencourt
94f370c7d7
gaudieffects: add fallback code for orc
...
this includes an improved version of the burn filter, with a ~40% speed
improvement.
2012-05-17 11:15:22 +01:00
Luis de Bethencourt
e044e0fab4
gaudieffects: use CLAMP in solarize
...
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
2012-05-17 10:54:31 +01:00
Luis de Bethencourt
9cb4f4e622
gaudieffects: use CLAMP in exclusion
...
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
2012-05-17 10:54:31 +01:00
Luis de Bethencourt
4990dc2d1f
gaudieffects: use CLAMP in dodge
...
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
2012-05-17 10:54:31 +01:00
Luis de Bethencourt
cb3d1794f8
gaudieffects: use CLAMP in chromium
...
No need to have a gate_int () function duplicating the already existing and
established CLAMP () function.
2012-05-17 10:54:31 +01:00
Mark Nauwelaerts
7f72b99426
h264parse: also consider nal_length_size when inserting codec data
...
See #676174 .
2012-05-17 11:47:19 +02:00
John Hein
6e78920416
y4m: link against the right libgstvideo
...
https://bugzilla.gnome.org/show_bug.cgi?id=676189
2012-05-16 21:50:48 +01:00
Luis de Bethencourt
5800315447
gaudieffects: example pipelines with videoconvert
2012-05-16 17:56:58 +01:00
Luis de Bethencourt
ad4ffc446f
gaudieffects: orc-ify burn filter
2012-05-16 17:56:58 +01:00
Stefan Sauer
5b39799cf0
hls: use gst api for timestamps instead of the (wrong) api from a too new glib
...
Conflicts:
gst/hls/gstfragment.c
2012-05-15 16:08:00 +02:00
Mark Nauwelaerts
74c73eba05
mpegtsmux: optimize output by aggregating packets
...
... rather than pushing each (small) packet in a separate buffer.
m2ts mode not yet optimized though.
2012-05-14 11:52:29 +02:00
Albert Astrals Cid
dda551e723
mpegts: support items in extended event descriptor
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=672478
2012-05-14 11:51:15 +02:00
Luis de Bethencourt
e9cba00c6a
gaudieffects: consistency in templates name
2012-05-10 21:37:59 +01:00
Thibault Saunier
52265cce1e
hlsdemux: Add a connection-speed property
...
Conflicts:
gst/hls/gsthlsdemux.c
2012-05-10 14:17:57 -04:00
Thibault Saunier
a8afa9755e
hls: Add a way to get best playlist for a specific bitrate in M3U8Client
...
Make use of it in hlsdemux
2012-05-10 14:08:11 -04:00
Youness Alaoui
594d983ff9
hlsdemux: Add failover protection.
...
Multiple streams with same bandwidth get retried
2012-05-10 14:07:54 -04:00
Youness Alaoui
705a52a1ac
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
2012-05-10 14:06:44 -04:00
Youness Alaoui
bfd7a52c5d
hlsdemux: Do not reset the sequence number in a live stream for a normal playlist update.
...
Only for stream switching
2012-05-10 14:00:49 -04:00
Thibault Saunier
f7553b6b0d
hlsdemux: If we update the playlist, make sure the sequence number is never more than 3 fragments before the end
2012-05-10 14:00:19 -04:00
Youness Alaoui
df958b4906
hlsdemux: In a live stream, do not start from 3 fragments before the end.
2012-05-10 13:59:46 -04:00
Youness Alaoui
3cc3e9ad1b
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
2012-05-10 13:38:57 -04:00
Youness Alaoui
87d10cf683
hlsdemux: Fallback to previous playlist when switching if the new playlist can't be fetched
2012-05-10 13:23:58 -04:00
Luis de Bethencourt
f805f9e079
gaudieffects: consistency fixes in gstgaussblur
2012-05-10 13:46:27 +01:00
Luis de Bethencourt
c7949405ca
gaudieffects: port gaussianblur to GstVideoFilter
2012-05-10 10:47:27 +01:00
Luis de Bethencourt
bc3afe0ac2
gaudieffects: port solarize to GstVideoFilter
2012-05-09 17:24:03 +01:00
Luis de Bethencourt
ee60c2cf98
gaudieffects: port exclusion to GstVideoFilter
2012-05-09 17:24:03 +01:00
Luis de Bethencourt
2e1aa96113
gaudieffects: port dodge to GstVideoFilter
2012-05-09 17:24:03 +01:00
Luis de Bethencourt
e9ec32fee7
gaudieffects: port dilate to GstVideoFilter
2012-05-09 17:24:03 +01:00
Luis de Bethencourt
2eba32aef3
gaudieffects: port burn to GstVideoFilter
2012-05-09 17:24:03 +01:00
Luis de Bethencourt
ebad8a4dbc
gaudieffects: port chromium to GstVideoFilter
2012-05-09 17:24:03 +01:00
Luis de Bethencourt
5a4b8d8937
gaudieffects: use GST_DEBUG_FUNCPTR in blur
2012-05-09 17:23:07 +01:00
Luis de Bethencourt
151b010bc9
gaudieffects: port gaussblur to 0.11
2012-05-09 13:18:53 +01:00
Luis de Bethencourt
f1220e95b5
gaudieffects: port solarize to 0.11
2012-05-09 13:18:53 +01:00
Luis de Bethencourt
9602a3513b
gaudieffects: port exclusion to 0.11
2012-05-09 13:18:53 +01:00
Luis de Bethencourt
e78f5817e5
gaudieffects: port dodge to 0.11
2012-05-09 13:18:53 +01:00
Luis de Bethencourt
1471e804d8
gaudieffects: port dilate to 0.11
2012-05-09 13:18:53 +01:00
Luis de Bethencourt
6b5d5c6f24
gaudieffects: add header to gaussblur
2012-05-09 13:18:53 +01:00
Luis de Bethencourt
3db482093d
gaudieffects: port chromium to 0.11
2012-05-09 13:18:53 +01:00
Luis de Bethencourt
c123ac0735
gaudieffects: port burn to 0.11
2012-05-09 13:18:53 +01:00
Luis de Bethencourt
b2e3e417a5
controller: port to new controller location and api
2012-05-09 13:18:52 +01:00
Tim-Philipp Müller
9503daa56a
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
2012-05-07 23:59:58 +01:00
Marc-André Lureau
2f20ec7312
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
2012-05-07 23:59:48 +01:00
Raimo Järvi
93ad7a4d06
Fix printf format compiler warnings on mingw-w64
...
https://bugzilla.gnome.org/show_bug.cgi?id=675520
2012-05-05 19:45:42 +01:00
Tim-Philipp Müller
b87f7345db
Add WINSOCK2_LIBS, remove WIN32_LIBS, fix rtmp build on Windows some more
...
One way of passing -lws2_32 to plugins should be enough..
2012-05-05 18:20:33 +01:00
Thiago Santos
133c9ef6be
camerabin: remove unnecessary code
2012-05-04 19:54:51 -03:00
Thiago Santos
acc48b7833
camerabin: improve image capture debug
2012-05-04 19:54:51 -03:00
Thiago Santos
95fd9cd277
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.
2012-05-04 19:50:52 -03:00
Youness Alaoui
d3303121c8
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.
2012-05-04 19:50:52 -03:00
Thiago Santos
37bac4c1ed
wrappercamerabinsrc: avoid assertion by using null caps as any
...
NULL caps aren't valid caps, use a reference to 'any' caps
2012-05-02 16:21:01 -03:00
Thiago Santos
cc09cd1303
camerabin: Fix get/set_property for encoding profiles
...
Encoding profiles are objects, not boxed types
2012-05-02 15:25:32 -03:00
Thiago Santos
b5ba142b06
camerabin: remove custom renegotiate event
...
In 1.0 there is a core reconfigure event, camerabin doesn't need
its custom renegotiate event anymore
2012-05-01 15:31:11 -03:00
Thiago Santos
b030923eb5
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.
2012-05-01 15:20:50 -03:00
Thiago Santos
ad9822dea7
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.
2012-05-01 15:20:49 -03:00
Thiago Santos
4a4f06abcf
wrappercamerabinsrc: removing renegotiate handlers
...
gstreamer 1.0 already has the reconfigure event, remove the
custom event handling from wrappercamerabinsrc
2012-05-01 15:20:49 -03:00
Thiago Santos
9cd0172581
wrappercamerabinsrc: prevent caps renegotiation loop
...
Only set the zoom capsfilter caps when the new caps are different,
preventing a caps renegotiation loop.
2012-05-01 15:20:49 -03:00
Thiago Santos
79d3cc533f
camerabin: Replacing ffmpegcolorspace with videoconvert
2012-05-01 15:10:51 -03:00
Wim Taymans
7394deef33
tsbase: unref bad packets too
...
Conflicts:
gst/mpegtsdemux/mpegtsbase.c
2012-05-01 11:50:39 +02:00
Wim Taymans
b56ab4b3cf
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.
2012-05-01 11:47:52 +02:00
Wim Taymans
eaf4d97815
mpegtsbase: don't push events upstream in pull mode
...
In pull mode, don't push the seek event upstream.
2012-05-01 11:43:07 +02:00
Wim Taymans
6bf0ebdcd8
mpegts: don't poke into private adapter fields
2012-05-01 09:41:18 +02:00
Tim-Philipp Müller
2f50ad435b
camerabin2: rename to "camerabin"
...
But leave source code intact for now, for easier patch merging.
2012-04-30 17:56:17 +01:00
Tim-Philipp Müller
7d65470c4a
Remove old camerabin
2012-04-30 17:44:34 +01:00
Gil Pedersen
da001be15a
hlsdemux: start paused task on new data
2012-04-25 15:58:13 +02:00
Mark Nauwelaerts
4d1bd12ff8
coloreffects: port to 0.11
2012-04-24 17:01:21 +02:00
Sebastian Dröge
5d2b52697c
dvb-sub: Use unchecked byte reader functions
2012-04-24 15:20:16 +02:00
Mark Nauwelaerts
07ddc9d8cd
asfmux: use some more boilerplate
2012-04-23 17:11:38 +02:00
Mark Nauwelaerts
e79cae3002
asfmux: port to 0.11
2012-04-23 16:55:18 +02:00
Gil Pedersen
1fa5624762
hlsdemux: port to 0.11
2012-04-20 15:34:59 +02:00
Wim Taymans
8da3c2a969
mpegtsdemux: we ignore warnings differently
...
We suppress the warnings in the .c file instead.
2012-04-20 11:25:31 +02:00
Gil Pedersen
fcd8155d87
mpegtsdemux: port to 0.11
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674397
2012-04-20 11:25:31 +02:00
Wim Taymans
5bd76c7c97
mpegtsbase: clarify event ownership
2012-04-20 11:25:31 +02:00
Gil Pedersen
095a17ad03
mpegtsdemux: fix memory leaks
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674393
2012-04-20 11:25:31 +02:00
Sebastian Dröge
ad871224fc
fieldanalysis: Does not need to link to libgstbasevideo at all
...
Conflicts:
gst/fieldanalysis/Makefile.am
2012-04-20 11:18:20 +02:00
Sebastian Dröge
7ff3293a44
video: Update for libgstvideo API changes
2012-04-19 12:31:39 +02:00
Youness Alaoui
f1ec8fcb05
jpegparse: Do not set the duration to the input buffer's duration unless valid
...
This causes a bug where the first buffer has ts = 0, dur=X, the second buffer
has ts=X (because of ts += duration), dur=-1, then the following buffers
will start having a non valid timestamp.
The real duration is only calculated during the caps negociation when there
is a framerate available and the buffer's duration is invalid.
2012-04-18 15:41:57 -04:00
Julian Scheel
1059905237
tsdemux: Set currentlist to NULL after free.
...
This prevents double free of currentlist is some circumstances.
2012-04-18 09:30:22 +02:00
Youness Alaoui
2503e67ca9
jpegparse: Fix duration in buffers. It's frames per second, not seconds per frame
2012-04-17 21:23:30 -04:00
Mark Nauwelaerts
6578797245
collectpads2: rename to collectpads
2012-04-17 15:22:59 +02:00
Alessandro Decina
4251b25308
mpegtsmux: fix pad iterator leak
2012-04-16 08:53:12 +02:00
Alessandro Decina
34cf1a1bbc
mpegtsmux: don't leak force key unit events
2012-04-16 08:53:06 +02:00
Matej Knopp
19f7bd470d
mpegvideoparse: Parser fails to split some frames
2012-04-16 08:42:02 +02:00
Matej Knopp
23e312872e
mpegvideoparse: Fix FPS and frame duration for telecine files
2012-04-16 08:42:02 +02:00
Matej Knopp
19ee94a8d1
mpegvideoparse: Do not update codec-data when only quantiser matrix changes
2012-04-16 08:42:02 +02:00
Tim-Philipp Müller
0def19d473
geometrictransform: don't link against libgstinterfaces which was removed
...
The GstNavigation interface is now in libgstvideo.
2012-04-14 15:29:15 +01:00
Matej Knopp
d487c9cd78
fix crash
...
last_sc is not reset every time a frame is being output, which can cause
last_sc > buf_size in subsequent frame.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674073
2012-04-14 10:43:21 +02:00
Thiago Santos
c13359f583
geometrictransform: use 1.0 videofilter baseclass functions
...
Port to the new functions of the videofilter class
2012-04-13 14:13:36 -03:00
Thiago Santos
d5f2feb8ec
geometrictransform: port to 1.0
...
Straightforward port of geometrictransform plugin
2012-04-13 14:13:36 -03:00
Sebastian Dröge
c88cd9cefc
Update for the removal of the interfaces library and the tuner/mixer interfaces
2012-04-13 13:15:39 +02:00
Sebastian Dröge
1ab0174c40
Release 0.11.90
2012-04-12 10:50:10 +02:00
Mark Nauwelaerts
07db2da91c
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
gst/h264parse/gsth264parse.c
gst/videoparsers/gsth264parse.c
2012-04-06 14:52:12 +02:00
Mark Nauwelaerts
7cfdc7e912
h264parse: tweak default setting of format and alignment in codec_data case
...
... which should promote ending up in passthrough mode.
2012-04-06 14:36:44 +02:00
Mark Nauwelaerts
0882adc69f
h264parse: do not use _unchecked bytewriter variants to insert config
...
.. since the bytewriter is explicitly created with non-fixed size to
allow (very much so expected) growth.
Partially reverts commit 20669d461a
while
trying to keep (some?) compilers happy.
IIRC, the purpose of GstByteWriter in the first place was (at least)
being able to dump data without having to fuss with memory expansion
and size issues ...
Fixes #673485 .
2012-04-06 14:35:56 +02:00
Thibault Saunier
513aa08bee
Merge remote-tracking branch 'origin/0.10'
2012-04-05 17:15:11 -04:00
Sebastian Dröge
cda192b3b7
gst: Update for GST_PLUGIN_DEFINE() API changes
2012-04-05 18:02:56 +02:00
Thibault Saunier
70056a37c4
hls: Some more debugging
2012-04-05 11:51:40 -04:00
Thibault Saunier
f9b0d59e84
hlsdemux: Replace the fetcher code with a GstURIDownloader object
2012-04-05 10:33:51 -04:00
Thibault Saunier
2415f9080d
hls: Minor cleanup in GstUriDownloader
2012-04-05 10:33:51 -04:00
Andoni Morales Alastruey
71b9f57b63
hlsdemux: Factor out all the fetcher code in a GstURIDownloader class
...
This class is meant to be reusable by other components
2012-04-05 10:33:51 -04:00
Thibault Saunier
5e85aaf11d
hls: Do not add reference to buffers passed in GstFragment
...
We just steal the reference to the buffer, which means we can keep writing metadatas
on the buffers.
2012-04-05 10:33:51 -04:00
Thibault Saunier
fdaa60c44f
hls: Minor GstFragment cleanup
2012-04-05 10:15:13 -04:00
Andoni Morales Alastruey
501d42fa78
hls: Add a GstFragment class that represents a fragment in a m3u playlist
2012-04-05 10:15:12 -04:00
Thibault Saunier
fef060590f
hls: Make the updates thread a GstTask
2012-04-05 10:15:12 -04:00
Alessandro Decina
f4b292f994
tsdemux: set correct newsegment fields on _TIME seeks
...
Forward the seek rate and set NS.start to the seek target so that decoders can
apply clipping where necessary.
2012-04-05 09:16:07 +02:00
Alessandro Decina
cd21a65031
rawparse: fix compile warning
2012-04-05 09:08:02 +02:00
Alessandro Decina
877e6d6a36
tsdemux: set correct newsegment fields on _TIME seeks
...
Forward the seek rate and set NS.start to the seek target so that decoders can
apply clipping where necessary.
2012-04-05 06:38:08 +02:00
Sebastian Dröge
1318a97e0a
gst: Update versioning
2012-04-04 14:44:34 +02:00
Sebastian Dröge
4c0b7fd03b
Merge remote-tracking branch 'origin/0.10'
2012-04-04 12:06:08 +02:00
Alessandro Decina
3b525d1147
tsdemux: reset iterator to NULL after it's free
...
Fixes possible invalid memory access in gst_ts_demux_stream_flush
2012-04-04 07:24:28 +02:00
Sebastian Dröge
bc07e44546
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
gst/mpegtsdemux/tsdemux.c
2012-04-02 15:31:38 +02:00
Edward Hervey
6800d0c4e0
tsdemux: Clear bufferlist/iterator when removing streams
2012-04-02 15:26:28 +02:00
Edward Hervey
dd6550a663
mpegtspacketizer: Don't leak buffer in fast variant
2012-04-02 15:25:46 +02:00
Edward Hervey
cd728627af
mpegtsbase: Don't leak corrupt section packet buffer
2012-04-02 15:25:16 +02:00
Wim Taymans
53e264d631
rtpmux: fix compilation
2012-04-02 11:07:18 +02:00
Edward Hervey
b8eeca8804
tsdemux: Fix several leaks
...
* dont' leak buffers when a stream is in discont state
* don't leak buffers when a program is removed/deactivated
* remove all programs when disposing
2012-04-02 08:03:57 +02:00
Edward Hervey
881350f34c
tsdemux: Fix several leaks
...
* dont' leak buffers when a stream is in discont state
* don't leak buffers when a program is removed/deactivated
* remove all programs when disposing
2012-03-30 19:20:17 +02:00
Wim Taymans
48ba9063b0
update for buffer api change
2012-03-30 18:15:36 +02:00
Sebastian Dröge
c63fa9190b
videoparsers: Update for baseparse API changes
2012-03-30 12:02:34 +02:00
Sebastian Dröge
a1c291ebb6
mpegtsdemux: Revert to 0.10 state as this is unmergeable, also put it into the non-ported plugins again
2012-03-29 17:55:09 +02:00
Sebastian Dröge
860ccd414d
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
NEWS
RELEASE
common
configure.ac
docs/libs/gst-plugins-bad-libs-sections.txt
docs/plugins/gst-plugins-bad-plugins.args
docs/plugins/gst-plugins-bad-plugins.hierarchy
docs/plugins/gst-plugins-bad-plugins.interfaces
docs/plugins/inspect/plugin-adpcmdec.xml
docs/plugins/inspect/plugin-adpcmenc.xml
docs/plugins/inspect/plugin-assrender.xml
docs/plugins/inspect/plugin-audiovisualizers.xml
docs/plugins/inspect/plugin-autoconvert.xml
docs/plugins/inspect/plugin-bayer.xml
docs/plugins/inspect/plugin-bz2.xml
docs/plugins/inspect/plugin-camerabin2.xml
docs/plugins/inspect/plugin-celt.xml
docs/plugins/inspect/plugin-dataurisrc.xml
docs/plugins/inspect/plugin-debugutilsbad.xml
docs/plugins/inspect/plugin-dtmf.xml
docs/plugins/inspect/plugin-dtsdec.xml
docs/plugins/inspect/plugin-dvbsuboverlay.xml
docs/plugins/inspect/plugin-dvdspu.xml
docs/plugins/inspect/plugin-faac.xml
docs/plugins/inspect/plugin-faad.xml
docs/plugins/inspect/plugin-gsm.xml
docs/plugins/inspect/plugin-h264parse.xml
docs/plugins/inspect/plugin-mms.xml
docs/plugins/inspect/plugin-modplug.xml
docs/plugins/inspect/plugin-mpeg2enc.xml
docs/plugins/inspect/plugin-mpegdemux2.xml
docs/plugins/inspect/plugin-mpegtsdemux.xml
docs/plugins/inspect/plugin-mpegvideoparse.xml
docs/plugins/inspect/plugin-mplex.xml
docs/plugins/inspect/plugin-pcapparse.xml
docs/plugins/inspect/plugin-rawparse.xml
docs/plugins/inspect/plugin-rtpmux.xml
docs/plugins/inspect/plugin-rtpvp8.xml
docs/plugins/inspect/plugin-scaletempo.xml
docs/plugins/inspect/plugin-schro.xml
docs/plugins/inspect/plugin-sdp.xml
docs/plugins/inspect/plugin-segmentclip.xml
docs/plugins/inspect/plugin-shm.xml
docs/plugins/inspect/plugin-videomaxrate.xml
docs/plugins/inspect/plugin-videoparsersbad.xml
docs/plugins/inspect/plugin-vp8.xml
docs/plugins/inspect/plugin-y4mdec.xml
ext/celt/gstceltdec.c
ext/dts/gstdtsdec.c
ext/modplug/gstmodplug.cc
ext/opus/gstopusenc.c
gst-libs/gst/video/gstbasevideocodec.c
gst-libs/gst/video/gstbasevideocodec.h
gst-libs/gst/video/gstbasevideodecoder.c
gst-libs/gst/video/gstbasevideodecoder.h
gst-libs/gst/video/gstbasevideoencoder.c
gst-libs/gst/video/gstbasevideoencoder.h
gst/adpcmdec/Makefile.am
gst/audiovisualizers/gstbaseaudiovisualizer.c
gst/h264parse/gsth264parse.c
gst/mpegdemux/mpegtsparse.c
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/mpegtspacketizer.c
gst/mpegtsdemux/mpegtsparse.c
gst/mpegtsdemux/tsdemux.c
gst/mpegtsdemux/tsdemux.h
gst/mxf/mxfdemux.c
gst/rawparse/gstaudioparse.c
gst/videoparsers/gsth263parse.c
gst/videoparsers/gsth264parse.c
sys/d3dvideosink/d3dvideosink.c
sys/decklink/gstdecklinksink.cpp
sys/dvb/gstdvbsrc.c
sys/shm/gstshmsrc.c
sys/vdpau/h264/gstvdph264dec.c
sys/vdpau/mpeg/gstvdpmpegdec.c
tests/examples/opencv/gst_element_print_properties.c
win32/common/config.h
2012-03-29 17:41:53 +02:00
Wim Taymans
a9ec4d62a8
update for buffer changes
2012-03-28 12:53:09 +02:00
Wim Taymans
5bf86a8728
Release 0.11.2
2012-03-22 15:52:37 +01:00
Wim Taymans
289e9683e9
rawparse: fix bayer caps
2012-03-21 09:41:08 +01:00
Thiago Santos
7dd5b2002a
geometrictransform: Prevent access to the transform map when it is null
...
Check if the map doesn't exist when receiving a new caps and create
a new one. This prevents that the transform functions try to access
the map when it doesn't exist.
2012-03-20 20:11:30 -03:00
Thiago Santos
74471813eb
geometrictransform: add some more log messages
2012-03-20 20:11:30 -03:00
Oleksij Rempel (Alexey Fisher)
79a74089d4
wrappercamerabinsrc: avoid reseting caps to the same value
...
Reduces capture latency when the new caps are the same as the old
one, avoiding resetting the source state for a forced renegotiation.
2012-03-20 20:11:30 -03:00
Mark Nauwelaerts
cc7918de19
rawparse: port to 0.11
2012-03-20 20:21:37 +01:00
Wim Taymans
c7f9558cc4
orc: don't compile everything at startup
2012-03-20 15:38:33 +01:00
Tim-Philipp Müller
1cec862538
adpcmdec: GST_BASE_LIBS already contains -lgstbase-0.10
2012-03-18 23:15:23 +00:00
David Schleef
e54218a648
adpcmdec: Add -lgstbase-0.10
2012-03-18 14:43:37 -07:00
Mark Nauwelaerts
a3002ad338
scaletempo: port to 0.11
2012-03-18 18:32:55 +01:00
Mark Nauwelaerts
0473a882ec
smooth: port to 0.11
2012-03-18 18:32:51 +01:00
Mark Nauwelaerts
b12ac89da0
segmentclip: port to 0.11
2012-03-18 18:32:46 +01:00
Mark Nauwelaerts
3354fda883
removesilence: port to 0.11
2012-03-18 18:32:36 +01:00
David Schleef
67f546968c
inter: Add channel property
...
The channel property allows multiple intersrc/sink pairs to find
each other. It's a free-form text string that must match among
various inter elements. Also fixed up documentation and latency
handling.
2012-03-17 12:18:47 -07:00
Wim Taymans
bc38bc27b7
don't pass random pointers to pull_range
2012-03-16 21:47:39 +01:00
Stefan Sauer
f8cf7bf973
faceoverlay: remove blank line in gtk-doc comment
2012-03-16 12:10:10 +01:00
Stefan Sauer
288c6fa26c
faceoverlay: code cleanups
...
Use glib types and simply expressions in the message handler.
2012-03-15 22:58:11 +01:00
Stefan Sauer
a31a698943
faceoverlay: don't access message fields directly
2012-03-15 22:49:51 +01:00
Wim Taymans
ed82d408b1
update for bufferpool changes
2012-03-15 22:11:32 +01:00
Wim Taymans
583f5d1dc7
update for allocation query changes
2012-03-15 20:38:27 +01:00
Tim-Philipp Müller
3f07ebcc37
faceoverlay: clear overlay if the face disappears
2012-03-15 18:26:24 +00:00
Tim-Philipp Müller
36a6a13f1c
faceoverlay: add some locking for properties, free previous location when it changes
2012-03-15 18:21:37 +00:00
Tim-Philipp Müller
3bbb0387c4
faceoverlay: don't make rsvgoverlay reload the SVG for every single frame
...
Only set location on rsvgoverlay if it has changed.
2012-03-15 18:08:09 +00:00
Tim-Philipp Müller
549447d288
faceoverlay: move face handling into own function and handle 0 face count
...
When a face disappears, we seem to get a message from facedetect with
a face count of 0, which we want to just ignore instead of trying to
access face #-1, which causes nasty warnings.
2012-03-15 17:47:58 +00:00
Tim-Philipp Müller
55b0f1e601
faceoverlay: fix pad templates
...
Use generic and unspecififed rgb/caps for now. The exact caps
supported depend on the facedetect element and rsvgoverlay. It's
not clear how this worked before, since facedetect only accepts
24-bit RGB, but the caps advertised 32-bit ARGB/BGRA. In any case,
we don't want to force anything really, so that if any of those
elements acquires support for additional formats we pick those up
automatically.
2012-03-15 17:42:56 +00:00
Tim-Philipp Müller
d405ea2e63
faceoverlay: fix weird pad creation code
...
The element would create normal pads in its instance_init function,
and then later in NULL->READY create the elements it needs, remove
the pads created in the instance_init function, and add new ghost
pads instead. Not without saving the external peer pads of the old
pads of course, which it would promptly re-link to the new ghost
pads. Do all of that a bit differently.
Fixes the generic/states.check unit test.
https://bugzilla.gnome.org/show_bug.cgi?id=670588
2012-03-15 16:52:44 +00:00
Tim-Philipp Müller
fead44ad12
faceoverlay: minor cosmetic changes
...
Remove template maker comments, use our defines for
package name and origin.
2012-03-15 15:48:53 +00:00
Wim Taymans
6cbb840385
update for memory api changes
2012-03-15 13:37:36 +01:00
Wim Taymans
9f700cc3c4
take padding into account
2012-03-14 19:56:59 +01:00
Tim-Philipp Müller
7f70d42837
inter: fix warnings when gst-inspecting interaudio{src,sink}
...
The channel property isn't implemented, so don't register it.
2012-03-13 20:59:00 +00:00
Oleksij Rempel (Alexey Fisher)
4e7edb2778
geometrictransform: make sure gt->map not freed twice
...
current cheese can create situation where gt->map is freed twice.
This patch set map to null to avoid it.
https://bugzilla.gnome.org/show_bug.cgi?id=671910
2012-03-12 23:56:50 +00:00
Gil Pedersen
fd92f8d6a2
hlsdemux: add floating point segment duration support
2012-03-12 15:30:35 +01:00
Wim Taymans
77299ba6ae
fix for caps api changes
2012-03-11 19:06:59 +01:00
Thibault Saunier
20669d461a
Fix 'ignoring return value of function declared with const attribute'
...
This always happens with GstByteReader/Writer and friends when
not taking into account returned boolean of the _read/_write functions
(which is actually wrong).
Make use of the *_unchecked variant as much as possible, or take the
returned value into account.
2012-03-10 19:22:07 -03:00
Danilo Cesar Lemes de Paula
35df907f93
Fixing rtpvp8 compatibility with the third draft
...
https://bugzilla.gnome.org/show_bug.cgi?id=671073
2012-03-08 15:23:25 -05:00
Mark Nauwelaerts
22b9b13166
sirendec: port to audiodecoder
2012-03-06 18:33:25 +01:00
Mark Nauwelaerts
6f8e60e24f
sirenenc: port to audioencoder
2012-03-06 18:33:17 +01:00
Mark Nauwelaerts
df86df9ddf
dccp: avoid indefinite looping upon error
...
... and fix 'uninitialized' compilation warning as well.
2012-03-06 18:33:09 +01:00
Sebastian Dröge
e34a70902c
removesilence: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning
2012-03-06 14:47:17 +01:00
Sebastian Dröge
b292b19c59
mxfdemux: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning
2012-03-06 14:46:03 +01:00
Sebastian Dröge
0bd9ae0dea
mpegtsparse: Fix 'variable 'pid' is uninitialized when used here' compiler warning
2012-03-06 14:44:25 +01:00
Sebastian Dröge
5f2081e828
mpegdemux: Fix 'expression result unused' compiler warning
2012-03-06 14:43:29 +01:00
Sebastian Dröge
21ddc28760
dccp: Fix 'comparison of unsigned expression < 0 is always false' compiler warning
2012-03-06 14:41:00 +01:00
Sebastian Dröge
e214b31f5c
baseaudiovisualizer: Fix 'comparison of unsigned expression >= 0 is always true' compiler warning
2012-03-06 14:38:47 +01:00
Edward Hervey
416b10b991
mpegtspacketizer: Handle rollover in offset calculations
2012-03-05 12:46:13 +01:00
Wim Taymans
dbf0b994f2
x-raw-bayer -> x-bayer
2012-03-05 12:43:42 +01:00
Wim Taymans
bc9ebb2ff2
use new style caps
2012-03-05 12:03:23 +01:00
Edward Hervey
d798cb7be3
tsdemux: printf fix
2012-03-05 11:27:51 +01:00
Edward Hervey
bb479b04c1
tsdemux: Update TODO
2012-03-05 10:17:56 +01:00
Edward Hervey
85878c142e
mpegts: Switch rank of mpegtsdemux and tsdemux
...
More effort has been put lately in tsdemux and works in more use cases
2012-03-05 09:46:17 +01:00
Edward Hervey
c557f71756
tsdemux: Push packets as early as possible
...
When the PES header tells us how big the outgoing packet is, push the
packet downstream as soon as we have the specified size instead of waiting
for the beginning of the next packet.
Reduces latency and removes issues with very sparse streams (like subtitles
and subpictures).
2012-03-05 09:41:48 +01:00
Stefan Sauer
f88c45c0cf
audiovisualizers: planning + example update
2012-03-04 19:57:14 +01:00
Tim-Philipp Müller
0bb5a01639
tsdemux: fix confusing variable name
2012-03-03 15:47:01 +00:00
Edward Hervey
01f5f62d95
tsdemux: Fix segment start position
...
If we *really* can't figure out the first start position, that most
likely means the data to push out doesn't have any timestamp.
Use a default value of 0 then
2012-03-02 17:19:45 +01:00
Edward Hervey
a3ae51be29
mpegtsbase: Flush out the packetizer on flushing seeks
...
... else we end up with bogus data/offsets
2012-03-02 17:19:45 +01:00
Thibault Saunier
ece4dfc3c6
tsdemux: Activate pads only when receiving data for the stream
...
https://bugzilla.gnome.org/show_bug.cgi?id=670921
2012-03-02 17:19:45 +01:00
Edward Hervey
a274bc5b76
mpegvideoparse: Fix level code
...
Valid ranges are from 4 to 10
Valid ranges >> 1 are from 2 to 5
Valid ranges >> 1 - 2 are from 0 to 3
(and not from 1 to 4)
2012-03-02 11:07:47 +01:00
Edward Hervey
671550714f
mpegtsbase: Check harder for program changes
...
And don't just rely on the section crc/version_number changing to
indicate that the program actually changed.
2012-03-02 10:54:48 +01:00
Edward Hervey
097f09b823
mpegtsbase/tsdemux: Refactor seek and segment handling
...
All calculations go through the mpegtspacketizer
Remove unused variables/code
2012-03-01 18:15:51 +01:00
Edward Hervey
77ece06a3f
mpegtsbase: Error out on EOS without any pad
...
Avoids ending up with hanging pipelines
2012-03-01 18:15:51 +01:00
Edward Hervey
a4899af8d6
mpegtspacketizer: Offset calculation
...
Allows PCR<=>PTS<=>offset estimation/calculation
Right now the calculation is very naive, but can be extended later on
without disrupting the code in tsdemux/mpegtsbase
2012-03-01 18:15:51 +01:00
Edward Hervey
39cc29a7d2
mpegtspacketizer: clock fix and minor addition
...
* Don't take into account packets that arrived at the same time as
previous ones for clock skew estimation
* Add convenience method for processing the next ts packet
2012-03-01 18:15:51 +01:00
Edward Hervey
c10fc17a1e
Revert "mpegtsdemux: Not apply various time the same PMT to a program when repetead"
...
This reverts commit 8cb0e87f56
.
mpegtspacketizer already checks if it's a new PMT or not
2012-03-01 18:15:51 +01:00
Edward Hervey
d920d9d64f
tsdemux: Remove all seeking code
...
It was more than bogus
2012-03-01 18:15:51 +01:00
Xavier Queralt
b5004e058b
hlsdemux: don't set the fetcher's location twice
...
Calling gst_element_make_from_uri already does it and filesrc
fails when using file protocol in a location
2012-02-29 09:52:39 +01:00
Guillaume Desmottes
ddfcfb5a7a
Add missing GLIB_DISABLE_DEPRECATION_WARNINGS
...
Suppress warnings about deprecated threading and GValueArray
API, so git compiles with -Werror.
https://bugzilla.gnome.org/show_bug.cgi?id=670982
2012-02-28 22:55:34 +00:00
Xavier Queralt
5b0d2ce2b2
hlsdemux: don't fail for playlists smaller than fragments-cache
...
https://bugzilla.gnome.org/show_bug.cgi?id=670963
2012-02-28 12:29:03 +00:00
Thibault Saunier
5c2e6dc512
mpegtspacketizer: catch section lengths extending past the buffer length
...
This is probably the cause for an occasional crash while streaming
MPEG. Blind fix after staring at the code and following logic, so
may or may not fix the issue, I cannot test.
(Port of 4275a70cb5
from mpegdemux)
2012-02-27 09:57:45 -03:00
Thibault Saunier
58a210e3d3
mpegtspacketizer: support more character set encodings
...
Support UTF-16BE, EUC-KR (KSX1001), GB2312 and ISO-10646/UTF8 text
encoding and fixed new line for multibyte encoding
https://bugzilla.gnome.org/show_bug.cgi?id=664257
(Port of 9759d66407
from the mpegtsdemux
element)
2012-02-27 09:42:27 -03:00
Alessandro Decina
368534f117
adpcmdec: link to libgstbase
2012-02-26 20:43:32 +01:00
Thibault Saunier
336710d355
tsbase: Fix parsing of PSI table IDs
...
(Ported from mpegtsdemux d8fd874f52
)
2012-02-24 19:08:40 -03:00
Thibault Saunier
f977d7e743
tsdemux: Avoid unlinkely leaks and segfault
2012-02-24 15:28:35 -03:00
Edward Hervey
b6d98aea5f
tsdemux: Use new clock skew estimation for outgoing timestamps
...
Only used in live mode
2012-02-24 17:53:52 +01:00
Edward Hervey
e6ff2f7b83
tsdemux: Various code cleanup and dead code removal
2012-02-24 17:52:33 +01:00
Edward Hervey
4bc7cd04c1
mpegtspacketizer: Fix issues with skew code
...
* Always try to get a timestamp for the algorithm
* Remove dead variable
* Return proper default value
2012-02-24 17:47:38 +01:00
Wim Taymans
8743905721
dataurisrc: fix docs and unit test
2012-02-24 12:53:52 +01:00
Thibault Saunier
6a8d2c45f6
mpegtspacketizer: Estimate clock skew and retimestamps buffers more precisly
...
Apply the EPTLA algotithm to estimate clock skew.
Reusing code from -good/gst/rtpmanager/rtpjitterbuffer.c
2012-02-24 10:57:09 +01:00
Thibault Saunier
48a699812b
tsdemux: Clean up AAC caps mess
2012-02-24 10:57:05 +01:00
Thibault Saunier
dc8b6c678d
tsdemux: Reindent gstmpegdesc.h
2012-02-24 10:57:02 +01:00
Thibault Saunier
67fd590e9a
tsdemux: Support more DTS/AC3 descriptors
2012-02-24 10:56:58 +01:00
Edward Hervey
6ef0ae4ffe
tsdemux: Remove useless finalize()
2012-02-24 10:56:14 +01:00
Mark Nauwelaerts
4c9ac0886a
h264parse: consider nal_length_size when constructing codec_data
...
Fixes #670699 .
2012-02-23 21:18:31 +01:00
Edward Hervey
8b73baeced
tsdemux: Use incoming timestamps in live mode
2012-02-23 16:39:48 +01:00
Edward Hervey
8f433e1677
tsdemux: Report latency (700ms)
2012-02-23 16:39:48 +01:00
Edward Hervey
c492b00b69
mpegtsbase: Query whether upstream is live or not
2012-02-23 16:39:48 +01:00
Wim Taymans
470854b6e3
update for new memory api
2012-02-22 02:10:35 +01:00
David Schleef
342a04c9d2
colorspace: Fix v210 writing out of bounds
2012-02-20 20:11:13 -08:00
Matej Knopp
e4e0d3ce02
Fix compiler warnings
2012-02-20 16:20:55 +01:00
Wim Taymans
a9f5def9d1
Merge branch 'master' into 0.11
...
Conflicts:
ext/opus/gstopusparse.c
gst/colorspace/colorspace.c
2012-02-20 16:07:50 +01:00
Matej Knopp
232ef9cc39
dvdspu should forward video caps event
2012-02-20 16:03:24 +01:00
David Schleef
e0db2faa12
colorspace: clamp intermediates when dithering
2012-02-19 00:16:31 -08:00
Thibault Saunier
8cb0e87f56
mpegtsdemux: Not apply various time the same PMT to a program when repetead
...
Sometimes their are several times the same PMT applying to a same program in a stream,
tsdemux was totally baffled when this was happening, we now keep the one we
already applied so it works properly.
2012-02-17 12:19:20 -03:00
Thibault Saunier
adc947e127
tsdemux: fix glib deprecation
2012-02-17 12:19:20 -03:00
Wim Taymans
e4754d274b
RELEASE 0.11.1
2012-02-17 11:05:37 +01:00
Wim Taymans
f08e247051
Merge branch 'master' into 0.11
2012-02-17 09:01:56 +01:00
Thiago Santos
39bad1d6ca
wrappercamerabinsrc: Put source to null when resetting caps
...
It seems that v4l2src isn't happy when switching formats on ready
state, it works when putting it to NULL. Keep this workaround in
wrappercamerabinsrc while v4l2src isn't fixed.
Fixes #849832
2012-02-16 22:51:21 -03:00
Wim Taymans
2fca270f19
Merge branch 'master' into 0.11
...
Conflicts:
gst/mpegtsdemux/mpegtsbase.c
gst/mpegtsdemux/mpegtspacketizer.c
gst/mpegtsdemux/tsdemux.c
gst/mve/gstmvedemux.c
2012-02-16 14:33:20 +01:00
Thiago Santos
2ce709cf4a
wrappercamerabinsrc: Put source in NULL when it fails changing state
...
When source is being reset to change caps, check the return of
the state syncing function to avoid leaving the source in an
unconsistent state.
2012-02-16 01:30:23 -03:00
Tim-Philipp Müller
b3592ebda8
mve: don't return a boolean for a GstFlowReturn
...
fixes playback.
2012-02-16 00:30:05 +00:00
Thibault Saunier
1182dd0c1b
tsdemux: Avoid throwing FLOW_ERROR on last PCR processing error
...
In the case of scanning last pcr, errors are not critical, so we keep
the stream flowing.
2012-02-15 15:48:44 -03:00
Thibault Saunier
cda0d3aed8
tsdemux: Add AAC latm support
2012-02-15 15:48:44 -03:00
Thibault Saunier
6094ec27b1
tsdemux: Minor refactoring/code cleaning
...
... add some debugging symbols in the mean time.
2012-02-15 15:48:44 -03:00
Mark Nauwelaerts
c7216162e4
h264parse: remove _chain hack
...
As we can now rely upon being passed upstream delineated data in
::handle_frame(), the latter can also parse avc formatted data
without having to intercept baseparse's chain function.
While this evidently requires 2 separate parsing paths, each can
be streamlined accordingly.
2012-02-15 17:15:10 +01:00
Mark Nauwelaerts
b8a78c6b37
videoparsers: adjust to standardized baseparse frame state tracking
2012-02-15 17:15:07 +01:00
Mark Nauwelaerts
ca5010cc4b
Merge branch 'master' into 0.11
2012-02-15 17:14:34 +01:00
Mark Nauwelaerts
5cce89b048
h264parse: use proper NALU offset for config data insertion
...
... which has to be the position of the start code, which is almost always
but need not be 4 bytes.
2012-02-15 14:29:45 +01:00
Wim Taymans
52fce49459
h263parse: fix compilation
2012-02-15 13:39:29 +01:00
Wim Taymans
16810321ee
videoparsers: don't leak event
...
Unref the event when we don't chain up to the parent
2012-02-15 13:02:06 +01:00
Wim Taymans
f9c99b4713
videoparsers: chain up to parent event handler
...
Chain up to the parent event handler to get the default behaviour instead of
returning FALSE.
2012-02-15 12:56:55 +01:00
Wim Taymans
eff7037447
Merge branch 'master' into 0.11
2012-02-14 11:19:04 +01:00
Mark Nauwelaerts
b10b9cf109
videoparsers: adjust to modified baseparse API
2012-02-13 18:44:01 +01:00
Mark Nauwelaerts
ea6a192b13
pcapparse: adjust to modified baseparse API
2012-02-13 18:42:53 +01:00
Mark Nauwelaerts
67a8e53aef
h264parse: fixup merge
2012-02-13 18:42:53 +01:00
Jan Schmidt
debf4984df
mpegtsmux: Trivial bug fix. Don't copy data from an uninited buffer.
2012-02-13 23:05:35 +11:00
Thomas Vander Stichele
bbbdbb536b
multifdsink: refactored in -base
2012-02-12 22:59:52 +01:00
Wim Taymans
6c2f5814ef
h264parse: report after merge
2012-02-10 16:52:46 +01:00
Wim Taymans
1119f6ee41
Merge branch 'master' into 0.11
...
Conflicts:
ext/chromaprint/gstchromaprint.c
ext/mpeg2enc/Makefile.am
ext/voaacenc/gstvoaacenc.c
gst/dvbsuboverlay/gstdvbsuboverlay.c
gst/mpegtsdemux/mpegtsbase.c
gst/sdp/gstsdpdemux.c
gst/videoparsers/gsth264parse.c
sys/d3dvideosink/d3dvideosink.c
tests/examples/camerabin/gst-camera-perf.c
tests/examples/camerabin/gst-camerabin-test.c
tests/examples/camerabin2/gst-camerabin2-test.c
tests/examples/mxf/mxfdemux-structure.c
tests/examples/scaletempo/demo-main.c
2012-02-10 16:46:50 +01:00
Mark Nauwelaerts
1cbd755a2c
h264parse: unobfuscate frame parsing code
2012-02-10 14:52:03 +01:00
Wim Taymans
20ffe99cc7
h264parse: fix refcount error
2012-02-09 14:42:23 +01:00
Tim-Philipp Müller
8765068879
Remove legacyh264parse element
...
One h264 parser ought to be enough for anybody.
https://bugzilla.gnome.org/show_bug.cgi?id=648002
2012-02-08 20:09:39 +00:00
Wim Taymans
de1f89bf07
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
2012-02-08 16:37:13 +01:00
Wim Taymans
667c84b59c
audiovis: port to 0.11 some more
2012-02-07 12:02:49 +01:00
Thiago Santos
3b549c4dbd
camerabin: prevent captures from being lost when switching resolutions
...
When switching capture caps, camerabin1 resets its state to ready
to force a new caps to be negotiated. This causes ongoing captures
to be aborted.
This commit adds a condition to wait for captures to finish before
going to ready state.
2012-02-06 10:48:32 -03:00
Thiago Santos
9bd40e92ce
camerabin: Improve debug message about processing counter
...
Mention on the logs how many capture operations might have been
lost
2012-02-06 10:48:32 -03:00
Vincent Penquerc'h
ddff93320d
rotate: angle is in radians already, do not scale it
...
Other plugins use radians, and the angle documentation says radians.
https://bugzilla.gnome.org/show_bug.cgi?id=669365
2012-02-04 22:07:54 +00:00
Vincent Penquerc'h
e84bbcbeab
rotate: fix description string to match what the element does
...
https://bugzilla.gnome.org/show_bug.cgi?id=669365
2012-02-04 22:07:54 +00:00
Vincent Penquerc'h
2eef9828d6
mpegtsdemux: do not emit no-more-pads
...
Doing so may fix some things, but breaks others (new streams being
added in the future).
https://bugzilla.gnome.org/show_bug.cgi?id=665814
2012-02-03 17:37:16 +00:00
Mark Nauwelaerts
c36bb8b73d
h264parse: decrease passthrough negotiation preference
...
Also ensure parsing fixed caps when negotiating rather than failing to
handle non-fixed list cases.
See #668471 .
2012-02-03 11:27:32 +01:00
Tim-Philipp Müller
f8f4620451
build: fix CFLAGS order and LIBS order
...
_BAD_CFLAGS should always come first, then GST_PLUGINS_BASE_CFLAGS,
then GST_BASE_CFLAGS then GST_CFLAGS. Same for libs: first plugins
base libs, then GST_BASE_LIB then GST_LIBS.
2012-02-03 00:50:33 +00:00
Mark Nauwelaerts
bc0dd274ee
debugutils: port to 0.11
2012-02-02 23:21:50 +01:00
Vincent Penquerc'h
0d1c9624ea
mpegpsmux: include specific AAC stream-format in template caps
...
This elements seems to support raw and adts AAC.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
2012-02-02 12:37:02 +00:00
Vincent Penquerc'h
2dec0950cf
tsdemux: add explicit supported AAC stream-format in template caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=665394
2012-02-02 12:37:02 +00:00
Vincent Penquerc'h
27f21d31ac
mpegtsmux: specify in template caps we only take raw/adts AAC format
...
This appears to be what this element supports.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
2012-02-02 12:37:02 +00:00
Vincent Penquerc'h
5c8ca4e1d0
mpegdemux: include specific AAC stream-format types in template caps
...
https://bugzilla.gnome.org/show_bug.cgi?id=665394
2012-02-02 12:37:01 +00:00
Tim-Philipp Müller
260e2e7427
build: ignore GValueArray deprecation warnings for the time being
...
until this gets sorted out with the GLib folks and we have a
viable alternative.
https://bugzilla.gnome.org/show_bug.cgi?id=667228
2012-02-01 17:54:22 +00:00
Tim-Philipp Müller
b66e84040b
adpcmdec: fix up for GstAudioDecoder API change
2012-02-01 17:06:11 +00:00
Mark Nauwelaerts
da89903f81
h264parse: disable optimized packetized processing for reverse playback
...
... as baseparse then provides whole chunks of data (as it should) at once
to be parsed, and so the assumptions used to optimize are no longer valid.
Fixes #667560 .
2012-02-01 13:53:17 +01:00
Mark Nauwelaerts
283f97cb79
h264parse: also mind SEI position for config data insertion
...
Fixes #668627 .
2012-02-01 13:53:15 +01:00
Mark Nauwelaerts
136f42974d
h264parse: unbreak optimized packetized NALU collection processing
...
... in that it was so optimized it did not consider grouping NALU into AU
altogether.
Fixes #668627 .
2012-02-01 13:53:13 +01:00
Rob Clark
521e8b199b
videoparsers: set interlaced field in caps for mpeg2
...
https://bugzilla.gnome.org/show_bug.cgi?id=667218
2012-01-31 11:51:37 +00:00
Alessandro Decina
f547336fdc
mpegtsmux: update after collectpads2 changes
2012-01-31 08:44:04 +01:00
Wim Taymans
3b74cca741
update for HEADER flag
2012-01-30 17:17:16 +01:00
Olivier Crête
70539e9c93
rtpmux: Unref non-forwarded events
...
Also, don't unref forwarded ones
2012-01-29 18:03:53 +00:00
Olivier Crête
3cccb06dc3
rtpmux: resync iterator on resync
2012-01-28 16:57:03 +00:00
Olivier Crête
b9fd586a61
rtpmux: Re-push sticky events on input pad change
2012-01-27 19:04:24 +01:00
Olivier Crête
83118f5d82
dtmf: Use new-style caps
2012-01-27 19:04:23 +01:00
Sebastian Dröge
2e0bc90903
mpegdemux: Don't leak the SCHEDULING query
2012-01-27 16:56:53 +01:00
Matej Knopp
7bcd991f93
Port mpegdemux to 0.11
2012-01-27 16:56:23 +01:00
Vincent Penquerc'h
8147669971
plenty: fixup glib deprecations
2012-01-27 15:47:07 +00:00
Thiago Santos
f4d6e03b9b
camerabin: Add viewfinder colorspace conversion to default flags
...
This make the default settings more likely to work. If needed, one
can optimize by disabling conversions with the flags.
2012-01-27 07:37:56 -03:00
Thiago Santos
5edd64eec6
camerabin2: Removing solved TODO and fixing a typo
2012-01-27 07:37:55 -03:00
Mark Nauwelaerts
498e4df9d9
adpcmdec: port to 0.11
2012-01-26 23:28:28 +01:00
Mark Nauwelaerts
936bee00f4
adpcmenc: port to 0.11
2012-01-26 23:28:20 +01:00
Olivier Crête
7aead77649
autoconvert: port to 0.11
2012-01-25 18:04:55 +01:00
Olivier Crête
4878946130
bayer: Intersect transformed caps with filter
2012-01-25 18:04:55 +01:00
Olivier Crête
73d57f1848
rtpmux: Don't leak gvalue from iterator
2012-01-25 17:49:26 +01:00
Wim Taymans
bc1067ce4b
more porting
2012-01-25 16:46:44 +01:00
Mark Nauwelaerts
9dc7571c75
port some more to new memory API
2012-01-25 16:22:09 +01:00
Wim Taymans
21073e98cf
port to new memory API
2012-01-25 14:51:25 +01:00
Sebastian Dröge
a2a4300241
Merge branch 'master' into 0.11
...
Conflicts:
configure.ac
ext/kate/gstkateenc.c
gst/colorspace/colorspace.c
gst/mpegvideoparse/mpegvideoparse.c
2012-01-25 13:22:43 +01:00
Alessandro Decina
8fb0beaf00
mpegpsdemux: limit the amount of scanning done on duration queries
...
Limit the amount of data scanned when looking for PTSes in duration queries as a
failsafe for kinda broken, potentially large files with sparse or no PTSes.
2012-01-25 13:06:46 +01:00
Alessandro Decina
0961e2f494
mpegpsdemux: don't scan for the last PTS if the first wasn't found
2012-01-25 13:06:45 +01:00
Olivier Crête
071c6e8f15
dtmf: port to 0.11
2012-01-25 11:55:13 +01:00
Olivier Crête
e1b7da5410
rtpvp8: port to 0.11
2012-01-25 11:54:54 +01:00
Olivier Crête
0829043b87
videomaxrate: Remove, videorate includes the same functionality now
2012-01-25 11:54:54 +01:00
Olivier Crête
e5ff5ee2db
rtpmux: port to 0.11
2012-01-25 11:54:53 +01:00
Vincent Penquerc'h
cf74b0bc76
mpegtsdemux: fix frequent deadlock demuxing MPEG TS
...
A previous patch to add streams early to fix playback of
low bitrate streams causes frequent deadlock of a nature
I'm at loss how to fix.
I'm not certain whether it's a bug in decodebin2, or in
that mpegtsdemux patch.
Since it causes a major regression, let it be disabled for now.
2012-01-23 17:47:45 +00:00
Mark Nauwelaerts
d8fdd3485b
mpegtsdemux: break out when stream identified
2012-01-23 14:22:18 +01:00
Mark Nauwelaerts
b00ed32c5a
mpegtsdemux: avoid NULL manipulation if invalid input
2012-01-23 14:22:18 +01:00
Mark Nauwelaerts
f1810502a7
mpegdemux: avoid NULL manipulation if invalid input
2012-01-23 14:22:18 +01:00
Mark Nauwelaerts
552f991ba0
mpegdemux: avoid some unlikely leaks
2012-01-23 14:22:17 +01:00
Mark Nauwelaerts
c63be1402a
mpegvideoparse: prevent some fall-through cases
2012-01-23 14:22:17 +01:00
Mark Nauwelaerts
ccee94e30d
mve: use signed loop variable
...
... when using it in i >= 0.
2012-01-23 14:22:12 +01:00
Mark Nauwelaerts
6b71ccb552
mve: ensure best target found
2012-01-23 14:13:47 +01:00
Mark Nauwelaerts
c004a1e462
festival: enhance some error case handling
2012-01-23 14:13:45 +01:00
Mark Nauwelaerts
ae02c7820b
nuvdemux: check directly for valid buffer
...
... rather than doing so indirectly in (incomplete) semantic way.
2012-01-23 14:13:43 +01:00
David Schleef
4b11ced2eb
Revert "!colorspace: fix odd size problems"
...
This reverts commit e2e6fdcb6b
.
Untested commit was accidentally pushed.
2012-01-22 16:59:37 -08:00
David Schleef
de562a194f
Revert "colorspace: Fix out-of-bound errors for v210"
...
This reverts commit 3b8b87cb6c
.
Untested commit was accidentally pushed.
2012-01-22 16:58:59 -08:00
David Schleef
96f7c5374f
inter: Fix compilation
...
Fix up previously botched rebase.
2012-01-22 16:55:46 -08:00
David Schleef
3b8b87cb6c
colorspace: Fix out-of-bound errors for v210
2012-01-22 15:52:15 -08:00
David Schleef
e2e6fdcb6b
!colorspace: fix odd size problems
2012-01-22 15:52:15 -08:00
David Schleef
4eb4602746
inter: Add channel property
2012-01-22 15:52:15 -08:00
David Schleef
70684f4d1b
colorspace: Add jpeg color-matrix conversion
2012-01-22 15:49:44 -08:00
David Schleef
f02ee5b403
inter: Add subtitle inter elements
2012-01-22 15:49:44 -08:00
Tim-Philipp Müller
840a3a5b36
Remove legacy mpegvideoparse plugin
...
There's a new one in the videoparsers plugin.
2012-01-22 19:27:59 +00:00
Tim-Philipp Müller
a15029922f
multifdsink: make git ignore generated files
2012-01-22 19:13:50 +00:00
Tim-Philipp Müller
5791ed71ad
h263parse: make level and profile fields in caps strings
...
For consistency with other caps.
https://bugzilla.gnome.org/show_bug.cgi?id=658438
2012-01-22 19:12:33 +00:00
Tim-Philipp Müller
27354f065d
mpegpsdemux: handle corner-case of short read in pull_buffer better
...
It's extremely unlikely, but there are corner cases where a short
read might happen, so handle that, just in case.
2012-01-19 15:56:12 +00:00
Wim Taymans
27ee60a27b
port to new gthread API
2012-01-19 11:34:26 +01:00
Sebastian Dröge
f6427af9f9
sdpdemux: Port to GIO and the new udpsrc/sink properties
2012-01-18 16:35:04 +01:00
Sebastian Dröge
31dddb7c9f
multifdsink: Add $(GST_PLUGINS_BAD_CFLAGS) for the i18n header file
2012-01-18 15:48:00 +01:00
Mark Nauwelaerts
dbc8bbd755
adpcmdec: port to audiodecoder
2012-01-17 21:37:48 +01:00
Mark Nauwelaerts
1a73bf0b79
adpcmenc: port to audioencoder
2012-01-17 21:37:45 +01:00
Mark Nauwelaerts
3f3a21ef49
pcapparse: port to 0.11
2012-01-16 22:52:13 +01:00
Mark Nauwelaerts
0d088c7eb1
irtspparse: port to 0.11
2012-01-16 22:51:59 +01:00
Vincent Penquerc'h
6b4038fed3
debugspy: fix string leak
2012-01-16 17:30:22 +00:00
Vincent Penquerc'h
31cb57fbb7
mpegdemux: fix missing finalize chaining to parent
...
This code does not seem to trigger on my test streams, so it's
a bit of a blind fix, but seems safe enough to push.
2012-01-16 17:10:30 +00:00
Sebastian Dröge
90c075b1f6
multifdsink: Move multifdsink from gst-plugins-base to gst-plugins-bad
2012-01-16 11:29:27 +01:00
Reynaldo H. Verdejo Pinochet
26a1ca09aa
Android, Fix wrong dinamic linking attempt
...
gstcodecparsers is built as an static library.
This change fixes building with the Android buildsystem.
2012-01-13 15:57:33 -03:00
Vincent Penquerc'h
6cad606ead
sirenenc: fix base class call mixup in finalize
2012-01-13 12:08:28 +00:00
Tim-Philipp Müller
699677ed8a
Merge remote-tracking branch 'origin/master' into 0.11
2012-01-13 00:11:54 +00:00
Vincent Penquerc'h
76a481c726
patchdetect: remove (leaking) dead code
2012-01-12 17:11:14 +00:00
Vincent Penquerc'h
a940c6a84d
inter: remove (leaking) dead code
2012-01-12 16:48:38 +00:00
Vincent Penquerc'h
72eb8209a5
hlsdemux: fix queue leak
2012-01-12 15:58:36 +00:00
Vincent Penquerc'h
083d21ce3d
dccpclientsink: fix string leak
2012-01-12 15:43:51 +00:00
Vincent Penquerc'h
2b81720a22
y4mdec: fix event leak
2012-01-12 15:19:01 +00:00