Commit graph

7244 commits

Author SHA1 Message Date
Wim Taymans
d1c73bd00f vorbisdec: detect and report errors better
Check the return values of a couple more libvorbis functions and post an error
when something is wrong instead of continuing and crashing.
2009-05-22 17:41:50 +02:00
Stefan Kost
45298860fc playbin2: fix initial volume and mute handling
Use two flags to remember volume/mute changes at times when we don't have the
audiochain yet (e.g. construction). Only set values when they were actualy
changed. This makes pulseaudio's stream restore functional.
2009-05-22 15:49:14 +03:00
Jan Schmidt
fcd5190106 Automatic update of common submodule
From d3a8fab to 888e0a2
2009-05-22 10:19:51 +01:00
Jan Schmidt
5e16234bd2 win32: Remove gst_adapter_masked_scan_uint32 from the exports 2009-05-22 09:03:22 +01:00
Wim Taymans
81170c4989 audiosink: improve debug message 2009-05-21 10:48:49 +02:00
Michael Smith
35a9de28f4 gstid3tag: Don't extract a track number unless present.
In ID3v1, a track number is present only if byte 125 is null AND
byte 126 is non-null. If the track number is not present, don't add
a track number tag with value 0.
2009-05-19 18:12:18 -07:00
Wim Taymans
243d366b34 videoutils: remove adapter methods
Remove adapter methods now that they are in core.
2009-05-20 00:48:40 +02:00
Wim Taymans
1c01a01dbf defs: add new symbols 2009-05-20 00:42:29 +02:00
Tim-Philipp Müller
6bb964dd7c autogen: pass -Wno-portability to automake to suppress warnings
GNU make is needed.
2009-05-19 17:50:24 +01:00
Tim-Philipp Müller
35bd80c56a gitignore: remove bogus *.sgml wildcard - these files are tracked in git 2009-05-19 17:50:24 +01:00
Wim Taymans
5181760120 tcpclientsrc: this is not a live source
Don't mark us as a live source because we are not.
2009-05-19 18:43:45 +02:00
Stefan Kost
4228ba0c6b adder: only send flush_stop when seek failed
This is still not the ultimate fix. Added some comment to explain the troubles.
2009-05-19 18:44:01 +03:00
Wim Taymans
c68a361e31 audiosink: return the return value of wait_preroll
Return the value that _wait_preroll() returned instead of always WRONG_STATE.
2009-05-19 17:17:37 +02:00
Stefan Kost
ef56ebad48 adder: send flush_stop to match flush_start
Adder was relying that something else sends a flush stop. When using adder with
a livesource it was not getting a flush_stop and thus all pads downstream where
keept flushing. Mark a pending flush_stop and send it when we are working on
the new segment back in the streaming thread.
2009-05-19 16:49:35 +03:00
Stefan Kost
a3670c67fa seek: ui improvements
Repaint the window black on expose, as this looks nicer when resizing or using
the expander. Also show time after slider, as this saves a whole line (nice on
small displays).
2009-05-19 16:49:35 +03:00
Stefan Kost
eeb3300383 decodebin: use iterators instead of list
The list api is deprecated. Use threadsafe iterators instead.
2009-05-19 16:49:35 +03:00
Wim Taymans
7d049bc29f uridecodebin: configure caps on decodebin2
Implement the caps property by setting the configured caps on new decodebin2
objects.

Fixes #582749
2009-05-19 15:35:54 +02:00
Wim Taymans
e685a9e86d decodebin2: avoid some _caps_ref in some cases
Only mess with the caps refcount when we configure different caps.
2009-05-19 15:34:38 +02:00
Wim Taymans
8f2f705c21 uridecodebin: fix potential caps leak
Free the user-configured caps in finalize.
2009-05-19 15:27:12 +02:00
Wim Taymans
f11edb626f uridecodebin: add queue after cdda://
Add a queue2 after the raw output pads of certain sources such as those for uris
like cdda://

No tuning of the queue is done yet as the defaults seem to work fine for me.

Fixes #582528
2009-05-19 15:20:27 +02:00
Wim Taymans
ed36eafaba oggdemux: don't loop when at EOS
When we try to read the last page, don't try to read past the upper boundary, as
this might cause endless loops.

See #582942
2009-05-19 12:45:59 +02:00
Edward Hervey
65c046b1ea audioresample: Don't drain remaining buffers after a flush.
If we were resetted (due to a flush), we can not drain the remaining
buffers since they would be pushed before a valid new newsegment event.
2009-05-19 11:20:19 +02:00
Michael Smith
94ca1b005e theoradec: for 4:2:2, use Y42B (planar) rather than a packed format. 2009-05-18 22:34:22 -07:00
Stefan Kost
c94f952056 adder: add more logging and return value checking 2009-05-19 01:13:34 +03:00
Stefan Kost
705b01aa93 adder: handle the return value from iterator_fold 2009-05-19 01:11:45 +03:00
Stefan Kost
591fbbcea7 adder: use the pad in logging as objects
Helps to differenciate between source and sinks pads.
2009-05-19 01:03:44 +03:00
Stefan Kost
98c93d6722 seek: use parser for mp3 and rename variable 2009-05-18 21:22:36 +03:00
Wim Taymans
46562ff1ca seek: add playbin2 options in expander
Add the playbin2 stream selection options inside an expander to preserve some
space on screen.
2009-05-18 11:08:56 +02:00
David Schleef
6f686c9ba0 videotestsrc: Add support for v210 and v216 formats 2009-05-15 18:44:37 -07:00
David Schleef
17f3810f7b video: remove // comments 2009-05-15 16:21:15 -07:00
David Schleef
45cf881f39 video: Add Y444, v210, v216 formats 2009-05-15 16:18:59 -07:00
David Schleef
0f1c5c1b68 schro: Move schro plugin from Schroedinger
Previous history is in Schroedinger.  Depends on, and is an example
of using, GstBaseVideo* base classes.

Code was reindented, and an #ifdef HAVE_ENCODER removed.
2009-05-15 16:18:59 -07:00
David Schleef
4ec34e83d5 video: Copy BaseVideo classes from Schroedinger 2009-05-15 16:18:58 -07:00
Arnout Vandecappelle
785f748810 multifdsink: add num-fds property
multifdsink::num-fds
2009-05-15 23:07:01 +02:00
Tim-Philipp Müller
f2031e1313 pbutils: add descriptions for 3GP, JPEG 2000 and Motion JPEG 2000 2009-05-15 20:50:06 +01:00
Sebastian Dröge
c3b28a9bff vorbisenc: Implement Preset interface 2009-05-15 16:27:41 +02:00
Sebastian Dröge
bcd0aee3f5 theoraenc: Implement Preset interface 2009-05-15 16:27:40 +02:00
Sebastian Dröge
2ea16837e7 oggmux: Implement Preset interface 2009-05-15 16:27:40 +02:00
Jan Schmidt
768cadf093 playbin2: Fix cdda:// playback
Don't send async-start when the playsink has already been configured
before changing state.
2009-05-14 22:50:53 +01:00
Tim-Philipp Müller
addb006ed1 configure: require core CVS for gst_adapter_prev_timestamp()
which is used in the libvisual plugin.
2009-05-14 01:31:48 +01:00
Wim Taymans
e19ddef9a0 AUTHORS: fix my email 2009-05-13 21:41:09 +02:00
Wim Taymans
b9723f6e1c audioclock: make our internal time monotonic
Make the internal time increase monotonically.
2009-05-13 21:38:56 +02:00
Wim Taymans
117686abc5 visual: remove next_ts variable
We can remove the next_ts variable as we don't use it anymore.
2009-05-13 19:27:54 +02:00
Wim Taymans
6eb549ab92 visual: use new adapter timestamp code
Use the new adapter timestamp tracking code to make things easier and produce
vastly better output timestamps.
2009-05-13 19:24:15 +02:00
Tim-Philipp Müller
f2c2f6702a po: avoid conflicts of local *.po files with files in git
Make it so that filenames and line numbers are only stored in the *.pot file
(which is not in git), but not in the individual *.po files. This information
is hardly useful for translators in our case, and it should avoid the constant
conflicts of local *.po files with the ones in git which are caused by the
source files changing and the line numbers being updated. This commit might
cause one last merge conflict for you, which you can work around with
"git checkout po/*.po" before merging or pulling. After that there should
(hopefully) not be any more local modifications of these files (unless
someone committed additions or changes to translated strings and the
*.po files haven't been updated yet, that is).
2009-05-13 01:57:58 +01:00
Tim-Philipp Müller
a18128a3f6 tests: fix audioresample unit test on big endian architectures
Don't hardcode endianness=1234 in the filtercaps, it will cause
pad link failures which will result in the test timing out.
2009-05-12 23:51:08 +01:00
Tim-Philipp Müller
8d326479a5 audiotestsrc: fix broken enum nick - it should have a hyphen
The enum nick should be 'sine-table', not 'sine table'. Technically this is
an API/ABI change I guess, but anyone who was using this and didn't report
it deserves this.
2009-05-12 17:18:37 +01:00
Tim-Philipp Müller
21228a6934 audiotestsrc: seek to the requested byte offset, not the expected byte offset 2009-05-12 15:32:02 +01:00
Tim-Philipp Müller
72c5884f4a audiotestsrc: support more than just one channel 2009-05-12 15:32:02 +01:00
Sebastian Dröge
ab75db1653 propertyprobe: Fix typo in the docs 2009-05-12 15:53:07 +02:00