Wim Taymans
9a8a8e72c8
structure: fix for api update
2011-11-02 09:06:37 +01:00
Tim-Philipp Müller
9f77b02b15
Update for pad API changes
...
GstProbeType, GstProbeReturn and GstActivateMode -> GstPad*
2011-11-01 00:52:28 +00:00
Tim-Philipp Müller
a49818f876
flacdec: parse stream headers from caps in set_format function
...
Not that this seems to be actually needed, libflac happily decodes
stuff even if we just drop all headers and never feed it to the
library.
2011-10-30 19:12:44 +00:00
Tim-Philipp Müller
ab591b6d53
flacdec: don't extract metadata, leave that to the parser or container
2011-10-30 19:12:44 +00:00
Tim-Philipp Müller
5ab43cdf91
flacdec: we expect framed input now, remove some more code
2011-10-30 19:12:39 +00:00
Tim-Philipp Müller
92361863e6
flacdec: naive port to GstAudioDecoder
...
This would probably have been too invasive to do in the 0.10
branch, with all the pull-mode and parser handling code in
there.
2011-10-30 17:39:40 +00:00
Tim-Philipp Müller
9cd17092d8
ext, gst: update for taglist API changes
2011-10-30 11:44:53 +00:00
Wim Taymans
d40e915449
Merge branch 'master' into 0.11
2011-10-28 16:52:08 +02:00
Wim Taymans
3389e79f38
pulseaudiosink: fix porting errors
...
The probes were ported wrongly and caused deadlocks.
2011-10-28 15:11:10 +02:00
Tim-Philipp Müller
ff40deb139
jpegdec: add sof-marker to template caps, so we don't get plugged for lossless jpeg
...
jpegdec (using libjpeg 6.2/8) can't decode some lossless types of JPEG.
https://bugzilla.gnome.org/show_bug.cgi?id=556648
2011-10-28 12:10:34 +01:00
Wim Taymans
65c71b0717
pulse: fix check for empty caps
2011-10-28 12:51:31 +02:00
Wim Taymans
4b6a226263
Merge branch 'master' into 0.11
...
Conflicts:
ext/pulse/pulseaudiosink.c
ext/pulse/pulsesink.c
2011-10-27 16:08:22 +02:00
Wim Taymans
fc4684f4c6
fix compilation
2011-10-27 16:03:17 +02:00
Stefan Sauer
2468492f02
interfaces: clean up the use of iface and class/klass
2011-10-21 14:58:41 +02:00
René Stadler
41116224c8
pngenc: increase arbitrary resolution limits
...
Apparently libpng can technically do up to 2^31-1 rows and columns. However it
imposes an (arbitrary) default limit of 1 million (that could theoretically be
lifted by using some additional API).
Moved array allocation to the heap now.
2011-10-21 10:27:04 +02:00
René Stadler
db1f10adc8
pngenc: don't unconditionally allocate 4096 pointers on the stack
...
Instead allocate as many as needed (on the stack still).
2011-10-21 10:26:48 +02:00
René Stadler
65f9354803
pngenc: ensure setcaps was called before chain function
...
This is needed to properly error out for e.g. "fakesrc ! pngenc ! fakesink".
2011-10-21 10:26:20 +02:00
René Stadler
7e390c4635
pngenc: validate input buffer size
...
Just for safety; of course such mismatch represents a bug in another element.
2011-10-21 10:25:51 +02:00
René Stadler
9eb55c3d8f
pngenc: make setcaps more robust, use gstvideo functions
...
A setcaps function needs to actually verify the caps carefully. In this case,
it was possible to e.g. link a video decoder with YUV+RGB template caps to
pngenc. That would cause a crash when the decoder pushes a YUV buffer. Same
thing when pushing a valid buffer that exceeds the resolution limits.
Also, missing framerate caps field would cause a glib critical warning due to
invalid GValue. This fails hard now.
2011-10-21 10:25:08 +02:00
Arun Raghavan
a7790efd04
pulse: Get caps correctly on pad block
...
Instead of always going upstream, we should first see if already got
caps from a setcaps() call.
https://bugzilla.gnome.org/show_bug.cgi?id=661262
2011-10-18 20:02:55 +05:30
Tim-Philipp Müller
e9ad06e202
wavpackenc: don't unref buffer with gst_object_unref()
2011-10-18 12:25:14 +01:00
Wim Taymans
6de67bb014
pulsesink: only use is_pcm for 1.0 of pulseaudio
2011-10-18 12:05:01 +02:00
Wim Taymans
0ade1a5822
pulsesink: only disable trickmodes for !pcm
...
Only disable trickmodes when we are not dealing with raw PCM samples.
2011-10-18 11:58:57 +02:00
Edward Hervey
1a10116bbe
flacenc: Properly register type
...
It's a subclass of GstAudioEncoder and not of GstElement
2011-10-13 17:12:23 +02:00
Wim Taymans
16649b2508
fix compile
2011-10-13 09:02:47 +02:00
Wim Taymans
a5cc912140
Merge branch 'master' into 0.11
...
Conflicts:
ext/jpeg/gstjpegdec.c
gst/rtp/gstrtpvrawpay.c
2011-10-13 08:58:06 +02:00
Thiago Santos
0e167e59d4
pulseaudiosink: Use new GstIterator API correctly
...
GstIterator now uses GValue, use it correctly.
2011-10-12 07:36:09 -03:00
Sjoerd Simons
95db648516
jpegdec: Implement upstream negotiation
...
Add upstream negotiation for jpegdec. Fixes #660275
2011-10-10 21:37:10 +01:00
Wim Taymans
03ca12d974
annodex: port to 0.11
2011-10-10 12:27:06 +02:00
Wim Taymans
aea9b5e8c8
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexenc.c
2011-10-10 11:48:20 +02:00
Thiago Santos
b09704020c
pulse: port pulseutil to 0.11
2011-10-10 00:18:56 -03:00
Thiago Santos
4517eb28c0
pulseaudiosink: port to 0.11
2011-10-09 21:19:30 -03:00
Thiago Santos
358767e217
pulsesink: Fixing getcaps function
...
Update getcaps function to 0.11 API
2011-10-09 21:19:27 -03:00
Mark Nauwelaerts
00a91fc061
speexenc: only push header buffers following initial events
2011-10-09 21:32:32 +02:00
Wim Taymans
586ef0babd
Merge branch 'master' into 0.11
...
Conflicts:
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c
gst/isomp4/atoms.c
gst/isomp4/gstqtmux.c
2011-10-06 12:23:39 +02:00
Tim-Philipp Müller
ca77c96c51
speexenc: initialise variable before adding to it
2011-09-29 23:21:46 +01:00
Mark Nauwelaerts
c5354bee04
speexdec: port to audiodecoder
2011-09-29 17:33:25 +02:00
Mark Nauwelaerts
53476c1580
speexenc: clean up some unused remnants
2011-09-29 17:33:23 +02:00
Mark Nauwelaerts
c1909c32c5
speexenc: port to audioencoder
2011-09-29 17:33:21 +02:00
Tim-Philipp Müller
3d01b9f398
flacdec: get rid of granulepos handling
...
Leave that to the parser or demuxer. There's still some
code for operating in DEFAULT (samples) format, but that
will be removed later.
2011-09-28 19:10:27 +01:00
Tim-Philipp Müller
5c28f426d7
flacdec: get rid of pull-mode support and focus on being a decoder
...
Leave all the other stuff to flacparse.
2011-09-28 19:03:13 +01:00
Tim-Philipp Müller
e0d994c9e1
flac, jpeg: fix compiler warning
2011-09-28 17:39:06 +01:00
Wim Taymans
b4524858be
flac: port to 0.11
2011-09-28 17:40:01 +02:00
Wim Taymans
762602d56a
Merge branch 'master' into 0.11
...
Conflicts:
ext/flac/gstflacenc.c
2011-09-28 17:39:12 +02:00
Mark Nauwelaerts
e8bcd41d73
flacenc: port to audioencoder
2011-09-28 16:14:46 +02:00
Wim Taymans
87fbd1e784
Merge branch 'master' into 0.11
...
Conflicts:
common
ext/pulse/pulsesink.c
ext/soup/gstsouphttpclientsink.c
gst/audioparsers/gstaacparse.c
gst/audioparsers/gstac3parse.c
gst/rtp/gstrtph264depay.c
gst/rtpmanager/gstrtpjitterbuffer.c
gst/rtpmanager/rtpjitterbuffer.c
gst/rtsp/gstrtspsrc.c
sys/ximage/gstximagesrc.c
2011-09-28 12:44:59 +02:00
Tim-Philipp Müller
3828537857
soup: rename souphttpsink to souphttpclientsink
...
To avoid confusion, and because we might want a server
sink at some point too.
https://bugzilla.gnome.org/show_bug.cgi?id=659947
2011-09-25 15:13:39 +01:00
Tim-Philipp Müller
be7cbd4c21
souphttpsink: don't create unused second sink pad object
...
The base class will create the sink pad.
2011-09-23 16:39:46 +01:00
Vincent Penquerc'h
7e4574e968
speexenc: do not use invalid buffer timestamps
2011-09-19 09:37:58 +02:00
Arun Raghavan
8ca420f547
pulse: New pulseaudiosink element to handle format changes
...
This introduces a new bin which wraps around pulsesink and depending on
the formats supported by the sink, plugs in/out a decodebin2 as
required. This allows users to switch sinks on the stream and adapts
accordingly (for example, you could watch a movie in passthrough mode on
your receiver which supports AC3 decode, then plug out and switch to a
non-digital profile to continue uninterrupted on analog output).
The bin is required because doing the same with playbin2/playsink will
require API changes that cannot be made in 0.10. With 0.11/1.0, we
should be able to ask for upstream caps renegotiation to deal with all
this.
https://bugzilla.gnome.org/show_bug.cgi?id=657179
2011-09-19 07:43:04 +05:30