Commit graph

7376 commits

Author SHA1 Message Date
Julien Isorce
182dad5c66 directdrawsink: Fix crash when exposing in GST_STATE_READY
Fixes bug #541962.
2009-08-09 12:25:01 +02:00
Sebastian Dröge
6115e0cb0e mpegtsdemux: Don't answer the SEEKING query if we don't know the answer yet
A bitrate!=-1 is required for seeking but the bitrate is only calculated
after the second PCR was read.

Fixes bug #590446.
2009-08-08 22:14:53 +02:00
Sebastian Dröge
531ce4228d spc: Lower rank to SECONDARY to make the gme plugin the default 2009-08-08 21:20:30 +02:00
Sebastian Dröge
8ad3f14873 spc: Add the OpenSPC spc plugin again
The gme plugin obsoletes it but it might still be useful
for users that don't have gme yet or prefer openspc for some reason.
2009-08-08 21:20:30 +02:00
Tim-Philipp Müller
24217ee31a kate: some minor clean-ups
Print flow return as string in log message; if we check the return
value of gst_buffer_new_and_alloc() we should use the _try() function
that might actually return NULL. Post error message when returning
GST_FLOW_ERROR. Use portable GLib macros to print 64-bit integers.
Don't use 0LL, that's also not portable (and unneeded here).
2009-08-08 12:49:01 +01:00
Sebastian Dröge
282479b443 videoparse: Only provide very fundamental caps in the pad template
We can't easily know which caps will can be used because we rely on
libgstvideo's support for video formats.
2009-08-08 10:30:11 +02:00
Sebastian Dröge
5c11f80c04 rawparse: Small cleanups and implement SEEKING query 2009-08-08 10:27:52 +02:00
Sebastian Dröge
60a5d37683 audioparse: Small cleanups 2009-08-08 09:08:16 +02:00
Sebastian Dröge
8433f7a9c6 videoparse: Use libgstvideo for everything instead of our own calculations
Also make RGB usage easier by providing xRGB, RGBx, etc. formats
instead of requiring to set red_mask and friends.
2009-08-08 09:08:16 +02:00
Josep Torra
9861908926 mpegtsdemux: fix a memory leak 2009-08-07 19:12:26 +02:00
Josep Torra
1a9b54b781 mpegtsdemux: added VC1, EAC3 and LPCM related to blueray/hdmv 2009-08-07 19:00:23 +02:00
Josep Torra
da95f4a873 mpegpsdemux: added caps for AAC and fixed playback of a clip with LPCM 2009-08-07 18:35:42 +02:00
Josep Torra
3c22fb611b mpegpsdemux: improved demuxer performance
Increased performance doing pull_range in blocks of 32Kb instead of 4Kb.
Caching the value of gst_adapter_available instead of calling it 3 times.
Added some comments with the header descriptions.
Peek enough data to avoid a corner case where could be readed data outside
the buffer.
Speed up some more inlining some functions and keeping another stream pointer
list to be used as iterator.
Sprinkle branch prediction macros accross the code.
Handling the seeking with flush in pull mode in the proper way.
2009-08-07 18:17:28 +02:00
Sebastian Dröge
782965be9f gmedec: Use GstAdapter instead of many buffer joins
This reduces the number of reallocations and memcpys drastically.

Also free the input data as soon as it's complete and passed to GME
as it's not needed anymore.
2009-08-07 14:47:30 +02:00
Mark Nauwelaerts
222322e7f3 baseparse: prevent infinite loop when draining 2009-08-07 13:09:24 +02:00
Mark Nauwelaerts
1f2a0d3b3d baseparse: fix minor memory leak 2009-08-07 13:09:20 +02:00
Mark Nauwelaerts
1f9525d821 flacparse: sync baseparse (some more) 2009-08-07 13:09:15 +02:00
Sebastian Dröge
27efe0067c gmedec: Add caps for all supported file formats to the srcpad template 2009-08-07 09:21:04 +02:00
Sebastian Dröge
9d9fa0a31d gme: Don't add empty string tags 2009-08-07 07:23:07 +02:00
Sebastian Dröge
cf0c65b72c gme: Fix caps name again 2009-08-07 07:01:11 +02:00
Sebastian Dröge
359c780830 gme: Rename everything from SPC to GME 2009-08-07 06:59:55 +02:00
Sebastian Dröge
7ddfae8a4a spc: Really remove old SPC code 2009-08-07 06:59:41 +02:00
Sebastian Dröge
e3cc127692 gme: Use gme for tags and duration parsing 2009-08-07 06:56:54 +02:00
Sebastian Dröge
c57eca3f0b spc: Rename SPC plugin to GME
as preparation for enabling support for non-SPC gaming console sound files.
2009-08-07 06:41:43 +02:00
Sebastian Dröge
e268bd6e28 spcdec: Forward all unknown src events upstream and don't restrict to SPC 2009-08-06 21:42:02 +02:00
ric
15b29bb834 rtpsource: avoid buffer leak on bad seqnum
Fixes #590797
2009-08-06 19:27:20 +02:00
Sebastian Dröge
3f6e84ec61 mpeg[pt]sdemux: Fix SEEKING query
Send the BYTES based query downstream, not the orignal one.
2009-08-05 09:36:00 +02:00
Jan Urbanski
5a596e67da qtmux: Don't require endianness field for 8 bit raw audio
Fixes bug #590360.
2009-08-04 12:58:35 +02:00
Sebastian Dröge
de03453f6d spc: Make the SPC plugin work with the latest libgme release
gme_enable_accuracy() was added in SVN trunk and is not yet
in any release.
2009-08-04 10:18:46 +02:00
Michael Pyne
4394b1a61c spc: Use the portable libgme instead of x86-only OpenSPC library
This will later allow us to play other gaming console files
that are supported by libgme.

Fixes bug #576800.
2009-08-04 10:06:54 +02:00
Tim-Philipp Müller
2e7b6e44db flacparse: remove internal bitreader and bytereader now that these are in libgstbase 2009-07-31 16:36:54 +01:00
Tommi Myöhänen
b658293925 outputselector: check for pending srcpad in _get_property()
If there is a pending srcpad, return it instead of active srcpad
in gst_output_selector_get_property() function.
2009-07-31 14:07:31 +03:00
Tommi Myöhänen
89788ddc1f camerabin: Set camerasrc to READY state instead of PAUSED when acquiring allowed caps 2009-07-31 14:07:24 +03:00
Sebastian Dröge
43b56d41c5 directdraw: Fix indention 2009-07-31 07:17:36 +02:00
Руслан Ижбулатов
567902dc06 directdraw: Implement GstNavigation interface
Fixes bug #590208.
2009-07-31 07:17:35 +02:00
Thiago Santos
88e399aac2 rtpasfpay: set padding field to 0 on rtp asf packets
The ASF RTP spec demands that packets have their padding removed
and the padding size field set to 0 for packets when puting them
inside the RTP packets
2009-07-31 00:19:19 -03:00
Thiago Santos
7583bf6813 asfmux: Set video stream seekable property to true
Video stream always have indexes, so they are all seekable
2009-07-30 10:33:05 -03:00
Thiago Santos
c271548aab asfmux: Removing useless TODOs
After testing in windows and linux, this audio correction field
made no difference so far. All example files I got only had
zeroes in this field
2009-07-30 10:33:05 -03:00
Thiago Santos
80196e1bb8 asfmux: Fixes video stream properties object
Fixes stream properties object creation for video content
2009-07-30 10:33:04 -03:00
Thiago Santos
d86de48fa1 asfmux: accept pad requests a little longer
asfmux now start rejecting pad requests after it pushes the first
buffer, before this, it was rejecting after going to paused
2009-07-30 10:33:04 -03:00
Thiago Santos
7dd441f8f5 asfmux: adds support to vc-1 streams 2009-07-30 10:33:03 -03:00
Olivier Crête
0672f2d9b2 rtpmux: Remove empty finalize 2009-07-29 17:24:59 -04:00
Sebastian Dröge
5fb33fce71 configure.ac: Fix macro name 2009-07-29 16:02:58 +02:00
Joni Valtanen
f41100e832 directsoundsrc: Add DirectSound source plugin
Fixes bug #344129.
2009-07-29 15:37:08 +02:00
Thiago Santos
7fa5cba6f0 asfmux: First basic check unit tests
Adds simple asfmux unit tests, that test pad creation and pushing a
single buffer through them
2009-07-28 22:51:39 -03:00
Thiago Santos
fb624bd416 asfmux: Forcing pad names to be video_%02d and audio_%02d like 2009-07-28 21:37:04 -03:00
Wim Taymans
9232e2278c rtpsource: allow for NULL caps on buffers
Add the NULL caps check where it matters and also cover another case of
potential NULL caps.

Fixes #590030
2009-07-28 18:18:20 +02:00
Olivier Crête
03348629ce rtpsource: Incoming buffers do not always have caps 2009-07-28 18:16:12 +02:00
Tommi Myöhänen
2d9bdb933d camerabin: photo iface setter functions return TRUE when used in NULL state
We cache the values and apply then when possible.
2009-07-28 09:53:22 +03:00
Tommi Myöhänen
01a7532900 camerabin: do not put video pipeline into READY when start recording camerabin: remember probe IDs and disconnect them when destroying pipelines 2009-07-28 09:53:22 +03:00