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
Konstantin Miller
24d002e04d
souphttpsrc: Don't handle HTTP response 407 as error if proxy authentication data is available
...
Fixes bug #657422 .
2011-09-07 13:28:45 +02:00
Wim Taymans
33f18b8ea4
Merge branch 'master' into 0.11
...
Conflicts:
gst/audioparsers/gstamrparse.c
gst/isomp4/qtdemux.c
2011-09-06 16:06:25 +02:00
Wim Taymans
e204c5934c
-good: port to new audio caps
2011-09-06 13:16:27 +02:00
Sebastian Dröge
7b592ff126
souphttpsrc: Allow positive, non-1.0 segment rates
...
Only negative rates are not supported. Fixes bug #658305 .
2011-09-06 10:34:35 +02:00
Wim Taymans
85d7fe14b2
soup: port soup elements to 0.11
2011-08-29 18:02:15 +02:00
Wim Taymans
34ea60526d
pulse: add some more channels
2011-08-24 18:44:01 +02:00
Wim Taymans
e9df54819c
Merge branch 'master' into 0.11
2011-08-24 14:16:44 +02:00
Arun Raghavan
bd604175c5
pulsesink: Trivial indentation fix
2011-08-23 22:48:34 +05:30
Monty Montgomery
799c8e3d04
flacdec: Correct sample number rounding resulting in timestamp jitter
...
flacdec converts the src timestamp to a sample number, uses that internally, then reconverts the sample number to a timestamp for the output buffer. Unfortunately, sample numbers can't be represented in an integer number of nanoseconds, and the conversion process was truncating rather than rounding, resulting in sample numbers and output timestamps that were often off by a full sample.
This corrects the time->sample convesion
2011-08-23 10:09:41 +02:00
Wim Taymans
0eeffef222
pulsesink: port after merge
2011-08-19 16:13:23 +02:00
Wim Taymans
e1b795ac13
Merge branch 'master' into 0.11
2011-08-19 16:12:01 +02:00