Commit graph

277 commits

Author SHA1 Message Date
Benjamin Otte
05d819a9a5 We're not at EOS after a successfull seek (fixes #111498)
Original commit message from CVS:
We're not at EOS after a successfull seek (fixes #111498)
2003-04-24 18:56:47 +00:00
Benjamin Otte
dcdb424424 total code reorganization as a start to get alsasrc working - sink and src are now really different classes, not just...
Original commit message from CVS:
total code reorganization as a start to get alsasrc working - sink and src are now really different classes, not just on paper - includes a fix that makes the testsuite work that might be an older bug
2003-04-24 00:03:06 +00:00
Christian Schaller
232891aaf1 Removing avifile and http plugins, also fixing some disting issues
Original commit message from CVS:
Removing avifile and http plugins, also fixing some disting issues
2003-04-23 19:42:12 +00:00
Benjamin Otte
7d5843f31f change alsa to use non-blocking mode
Original commit message from CVS:
change alsa to use non-blocking mode
2003-04-22 23:33:04 +00:00
Benjamin Otte
f2f10fcade more indentation madness, no actual code changes
Original commit message from CVS:
more indentation madness, no actual code changes
2003-04-22 18:28:33 +00:00
Benjamin Otte
51b95c4653 indenting only
Original commit message from CVS:
indenting only
2003-04-22 14:45:41 +00:00
Ronald S. Bultje
9cd5e80245 Adds divx/xvid encoders. divx encoder is based on divx4linux (commercial, closed-source)
Original commit message from CVS:
Adds divx/xvid encoders.
* divx encoder is based on divx4linux (commercial, closed-source)
* xvid encoder is based on xvidcore (http://www.xvid.org/, GPL - Christian? ;) )

Both use a GstCaps that doesn't conform with what we currently use, I might fix that later on or so. For now, it doesn't matter, it's just a test. We're also missing corresponding decoders (ffmpeg can decoded this too, but that's not the point), these might come later too.
2003-04-21 21:54:26 +00:00
Colin Walters
700a618147 Reset in_first_get flag when done reading, and on opening a file.
Original commit message from CVS:
Reset in_first_get flag when done reading, and on opening a file.
2003-04-20 18:44:34 +00:00
Benjamin Otte
f928b71543 some more fixes for weird situations
Original commit message from CVS:
some more fixes for weird situations
2003-04-18 23:32:29 +00:00
Benjamin Otte
da25cbb0b3 fix clock - seeking, xruns etc should be handled correctly now includes bugfix to not play the rest of the audio buff...
Original commit message from CVS:
fix clock - seeking, xruns etc should be handled correctly now
includes bugfix to not play the rest of the audio buffer when going PAUSED => READY
2003-04-18 12:14:04 +00:00
Benjamin Otte
f3c926748a converted g_print to g_printerr
Original commit message from CVS:
converted g_print to g_printerr
2003-04-13 14:28:15 +00:00
Benjamin Otte
60154fca6e fix timestamp syncing timestamps are only guessed so add a (big) threshold before starting to drop/insert fix some cl...
Original commit message from CVS:
fix timestamp syncing
timestamps are only guessed so add a (big) threshold before starting to drop/insert
fix some clocking madness
2003-04-13 14:21:02 +00:00
Benjamin Otte
05ef1f25e5 ALSA rewrite, part 5:
Original commit message from CVS:
ALSA rewrite, part 5:
- sync to timestamps (which breaks a _lot_, because most plugins send out wrong timestamps)
- clocking support (A/V sync is superb as long as you don't sync and don't get wrong timestamps)
- 1/2 of format conversion
- assorted bugfixes
I'd like to get people to check the timestamps the plugins send out.
mpegdemux seems to be pretty broken, mad works (I just patched it...), avidemux works at least sometimes.
Haven't checked more so far.
2003-04-13 04:13:12 +00:00
Benjamin Otte
440f6c38f6 fix iradio mode
Original commit message from CVS:
fix iradio mode
2003-04-11 00:59:50 +00:00
Benjamin Otte
6c384754a9 make alsa not pause playback but drain the buffer on EOS
Original commit message from CVS:
make alsa not pause playback but drain the buffer on EOS
2003-04-11 00:24:19 +00:00
Benjamin Otte
8593c57c2f uhm yeah. segfault fix for gst-inspect
Original commit message from CVS:
uhm yeah. segfault fix for gst-inspect
2003-04-08 22:40:07 +00:00
Ronald S. Bultje
5f31c8200f Fix for 106448
Original commit message from CVS:
Fix for 106448
2003-04-06 23:02:29 +00:00
Benjamin Otte
bd55be76b9 opening/closing files and devices is done on NULL <-> READY
Original commit message from CVS:
opening/closing files and devices is done on NULL <-> READY
2003-03-30 22:16:47 +00:00
Benjamin Otte
4272238399 conform to vorbis metadata spec: http://www.xiph.org/ogg/vorbis/doc/v-comment.html
Original commit message from CVS:
conform to vorbis metadata spec: http://www.xiph.org/ogg/vorbis/doc/v-comment.html
2003-03-30 16:22:34 +00:00
Benjamin Otte
a9464c5893 warn on possibly broken discid, so app devs know about this
Original commit message from CVS:
warn on possibly broken discid, so app devs know about this
2003-03-30 02:13:37 +00:00
Benjamin Otte
24380eed1e Warning: Comment 0 in stream 1 is invalidly formatted, does not contain '='
Original commit message from CVS:
Warning: Comment 0 in stream 1 is invalidly formatted, does not contain '='
2003-03-29 18:37:15 +00:00
Benjamin Otte
2b473441ca bugfix: don't unref event twice
Original commit message from CVS:
bugfix: don't unref event twice
2003-03-27 03:16:31 +00:00
Benjamin Otte
b5a22d8630 get rid of bytestreams
Original commit message from CVS:
get rid of bytestreams
2003-03-27 00:17:26 +00:00
Benjamin Otte
7b30d7b9a4 use err = snd_... instead of errno afterwards -- removed unnecessary include
Original commit message from CVS:
use err = snd_... instead of errno afterwards -- removed unnecessary include
2003-03-26 22:24:35 +00:00
Benjamin Otte
f7995c6fd8 rewrote the caps nego / state change stuff once again, new features:
Original commit message from CVS:
rewrote the caps nego / state change stuff once again, new features:
- bugfixes
- get_caps function to report better caps when device is opened
- better _link function
2003-03-24 03:45:45 +00:00
Benjamin Otte
02872d827d fix compile error
Original commit message from CVS:
fix compile error
2003-03-24 02:58:13 +00:00
Benjamin Otte
a773e79446 bugfix: destroy bufferstreams after they're reset, not before
Original commit message from CVS:
bugfix: destroy bufferstreams after they're reset, not before
2003-03-22 02:17:08 +00:00
Benjamin Otte
d681473539 bugfixing:
Original commit message from CVS:
bugfixing:
- use better parameter setting functions
- assorted stuff
feature:
- added non-mmaped standard-rw output. Use 'alsasink mmap=false' to deactivate mmap output
2003-03-22 01:17:06 +00:00
Benjamin Otte
5dc94e9b3d fixing bugs:
Original commit message from CVS:
fixing bugs:
- reset original caps on failed caps nego
- do only initialize format/rate/caps if known
- added line for fast debugging output (need this for iain now ;)
2003-03-19 22:54:36 +00:00
Benjamin Otte
245d6e4d6d fix all kinds of shutdown stuff and do proper freeing of memory
Original commit message from CVS:
fix all kinds of shutdown stuff and do proper freeing of memory
2003-03-19 21:33:52 +00:00
Benjamin Otte
4b1649ad34 ALSA cleanup step 3:
Original commit message from CVS:
ALSA cleanup step 3:
- make caps nego work, when caps are already set
- rewriting lots of caps nego while doing so
- start stream explicitly now (will probably stay that way because of sync)
- random bugfixes
alsasrc is probably broken again.
alsasink should now be stable enough to be used with gst-player or rhythmbox (seeking works)
2003-03-18 22:07:56 +00:00
Benjamin Otte
489eafaf72 Bugfixing in alsa again:
Original commit message from CVS:
Bugfixing in alsa again:
- Leif's commit reverted an earlier patch
(stupid diff)
- Some comment from Leif made me clean up his code
- Moved wait() directly in front of mmap
- Assorted fixes
- fixed newbie bug: DON'T EVER USE STATIC VARIABLES WHEN YOU'RE NOT ABSOLUTELY SURE WHAT YOU'RE DOING, Leif *slap* ;)
I hope I didn't break the src now...
2003-03-10 21:30:00 +00:00
Christian Schaller
222eaddcc7 Complete the move of the RTP plugin
Original commit message from CVS:
Complete the move of the RTP plugin
2003-03-02 10:16:24 +00:00
Leif Johnson
20a9403fbf + alsasrc compiles and runs in "alsasrc ! fakesink" and "alsasrc ! osssink" pipelines. seems to have a 100% cpu issue...
Original commit message from CVS:
+ alsasrc compiles and runs in "alsasrc ! fakesink" and "alsasrc ! osssink"
pipelines. seems to have a 100% cpu issue at the moment.
2003-02-27 23:13:22 +00:00
Benjamin Otte
1516bb3f58 bugfixes found while testing:
Original commit message from CVS:
bugfixes found while testing:
- return after 1 iteration, don't loop for ever
- caps nego: only parse endianness when necessary
- caps nego: make mu law and a law work
- caps nego: make float work
- call right function when going from PAUSED to PLAYING
- stupid error in request_new_pad
2003-02-27 22:33:01 +00:00
Christian Schaller
d410130574 add FreeBSD patches from Andrew Turner and add missing ivorbis m4 to cvs, also disable ivorbis plugin as the test mis...
Original commit message from CVS:
add FreeBSD patches from Andrew Turner and add missing ivorbis m4 to cvs, also disable ivorbis plugin as the test mistakes ordinary vorbis for tremor
2003-02-23 19:58:50 +00:00
Christian Schaller
6c1b7a788f merge integer based Tremor vorbis plugin
Original commit message from CVS:
merge integer based Tremor vorbis plugin
2003-02-23 17:35:35 +00:00
Colin Walters
5120331774 New functions.
Original commit message from CVS:
(unicodify, gst_gnomevfssrc_unicodify): New functions.
(audiocast_thread_run): Use them.  Remove redundant if from
"if (foo) g_free (foo);" bits.  Change fprintf to g_print.
(gst_gnomevfssrc_received_headers_callback): Ditto.
(gst_gnomevfssrc_get_icy_metadata): Ditto.
2003-02-15 04:55:04 +00:00
Thomas Vander Stichele
2c30291763 committing fixes before deleting all of my gstreamer cvs to make room for music for the skiing trip, yay !
Original commit message from CVS:
committing fixes before deleting all of my gstreamer cvs to make room for
music for the skiing trip, yay !
2003-02-14 14:22:05 +00:00
Benjamin Otte
730ff79841 fixing alsa step 2: complete rewrite of data transfer. The whole stuff is clean enough to go from there now.
Original commit message from CVS:
fixing alsa step 2: complete rewrite of data transfer. The whole stuff is clean enough to go from there now.
License change to LGPL, since no copied code is left now.
Missing:
- alsasrc
- resetting format
- corner cases
- testsuite
2003-02-09 22:47:34 +00:00
Ronald S. Bultje
2534ded87b Will the who-ever it is that writes gcc-2.95-incompatible code please stop that? Some of us don't use C99 yet ;)
Original commit message from CVS:
Will the who-ever it is that writes gcc-2.95-incompatible code please stop that? Some of us don't use C99 yet ;)
2003-02-07 21:55:43 +00:00
Colin Walters
44f96d01be Port all the fixes from BRANCH-GSTREAMER-0_6.
Original commit message from CVS:
Port all the fixes from BRANCH-GSTREAMER-0_6.
2003-02-07 01:47:58 +00:00
Wim Taymans
54341cbe3b Fix compile error
Original commit message from CVS:
Fix compile error
Add some more debug info
2003-02-02 22:05:53 +00:00
David Schleef
0a1d9ddd6a Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
Original commit message from CVS:
Change %lld, %llu to G_G[U]INT64_FORMAT globally.  Fix bad pointer->integer
conversion.
2003-02-02 05:26:29 +00:00
Zeeshan Ali
02b97c7b22 The first attempt to support MAS. Dont expect it to work :)
Original commit message from CVS:
The first attempt to support MAS. Dont expect it to work :)
2003-01-30 20:24:25 +00:00
Benjamin Otte
59f2a30f72 cleaning up alsa, step 1: cleaning up caps parsing/setting and templates
Original commit message from CVS:
cleaning up alsa, step 1: cleaning up caps parsing/setting and templates
- gst-launch ... ! spider ! alsasink works now
- alsasrc definitely does not work
2003-01-30 18:30:30 +00:00
Leif Johnson
f032898326 + removed the access_addr crap from GstAlsaPad ... just use this->access_addr[channel] instead + completely reorganiz...
Original commit message from CVS:
+ removed the access_addr crap from GstAlsaPad ... just use
this->access_addr[channel] instead
+ completely reorganized and reindented code
+ removed the gst_alsa_sink_silence_on_channel function, needs to be completely
redone anyway
+ got alsasink to work on my machine finally ! yay !
2003-01-27 12:59:24 +00:00
Colin Walters
27e205b313 Don't make a size request when in iradio mode.
Original commit message from CVS:
(gst_gnomevfssrc_open_file): Don't make a size request when in iradio mode.
2003-01-25 23:20:36 +00:00
Benjamin Otte
3d78da5dc2 bugfixing:
Original commit message from CVS:
bugfixing:
- Fix for bug 93479
- Fix for bug 103659
- Did not set interleaved/non-interleaved correctly
- Changed g_print to DEBUG to disable unwanted output
Alsa is still not really useful. Missing is for example:
- Support for Relinking in paused state (when going to next song in gst-player)
- A bug when using gst-launch filesrc ! spider ! alsasink
- Support for events
- Padtemplates exporting proper caps
- general cleanliness
K, back to work ;)
2003-01-25 21:32:01 +00:00
Leif Johnson
85a0755988 + fixing 100 % cpu usage bug (bug #103658) + cleaning up some of the FIXMEs, mostly bytestream stuff + changing loop ...
Original commit message from CVS:
+ fixing 100 % cpu usage bug (bug #103658)
+ cleaning up some of the FIXMEs, mostly bytestream stuff
+ changing loop to use snd_pcm_wait instead of that poll business
2003-01-19 23:23:30 +00:00
Wim Taymans
dc7a0dc712 Slightly better read function
Original commit message from CVS:
Slightly better read function
2003-01-19 20:11:13 +00:00
Christian Schaller
f18d6d3825 commit Leif's alsa patch, it actually makes Alsa work better
Original commit message from CVS:
commit Leif's alsa patch, it actually makes Alsa work better
2003-01-16 11:25:15 +00:00
Thomas Vander Stichele
e976ccb298 PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
9032557b33 another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...
Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts
2003-01-10 10:22:25 +00:00
David I. Lehn
742e4fcec5 fix typo
Original commit message from CVS:
fix typo
2003-01-02 09:00:20 +00:00
Iain Holmes
e666edcc9a Add indexing
Original commit message from CVS:
Add indexing
Don't set the speed on the cdparanoia object until the open
2003-01-01 23:57:41 +00:00
Wim Taymans
12bd93773c Fix plugins for new query API
Original commit message from CVS:
Fix plugins for new query API
2002-12-30 17:53:18 +00:00
Christian Schaller
a219deee1f apply Jeroens patch to move us to mpeg2dec 0.3.1, also update REQ file and spec file.
Original commit message from CVS:
apply Jeroens patch to move us to mpeg2dec 0.3.1, also update REQ file and spec file.
2002-12-15 21:48:33 +00:00
Christian Schaller
79da0dd437 do not install man page
Original commit message from CVS:
do not install man page
2002-12-12 10:28:39 +00:00
Thomas Vander Stichele
3b540378fb parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:09 +00:00
Christian Schaller
8b5e2c2cbc fix some disting and rpm building issues
Original commit message from CVS:
fix some disting and rpm building issues
2002-11-28 12:58:38 +00:00
Christian Schaller
1c7de6baed fix some directories left out of dist
Original commit message from CVS:
fix some directories left out of dist
2002-11-27 21:25:11 +00:00
Wim Taymans
9d9f4e73e5 Removed properties that are better queried.
Original commit message from CVS:
Removed properties that are better queried.
2002-11-27 21:07:17 +00:00
Thomas Vander Stichele
98d8edab26 not sure what I did wrong but this should fix it hopefully
Original commit message from CVS:
not sure what I did wrong but this should fix it hopefully
2002-11-27 19:58:21 +00:00
Thomas Vander Stichele
803632635c flac debug cleanup m4 for ffmpeg
Original commit message from CVS:
flac debug cleanup
m4 for ffmpeg
2002-11-26 14:51:34 +00:00
Colin Walters
4c7c8a02e8 Test for url in correct variable.
Original commit message from CVS:
Test for url in correct variable.
2002-11-25 16:36:11 +00:00
Wim Taymans
8557496cae small fix
Original commit message from CVS:
small fix
2002-11-20 22:56:26 +00:00
Thomas Vander Stichele
ec309fea67 LIBPNG going in
Original commit message from CVS:
LIBPNG going in
2002-11-18 22:30:12 +00:00
Wim Taymans
f0ceb74eb2 use the rate of the logical stream to calculate duration instead of current rate.
Original commit message from CVS:
use the rate of the logical stream to calculate duration instead
of current rate.
2002-11-12 20:56:13 +00:00
Thomas Vander Stichele
dc446a0fa1 debug info
Original commit message from CVS:
debug info
2002-11-11 14:06:31 +00:00
Thomas Vander Stichele
b7cd417797 some debug output
Original commit message from CVS:
some debug output
2002-11-10 14:37:29 +00:00
Thomas Vander Stichele
76164a4be8 this is how we want to do this in the future hopefully ;)
Original commit message from CVS:
this is how we want to do this in the future hopefully ;)
2002-11-10 00:38:57 +00:00
Thomas Vander Stichele
c71c3316cf use tags as well
Original commit message from CVS:
use tags as  well
2002-11-09 18:34:48 +00:00
Wim Taymans
00b21146ed Removed silly debug printf
Original commit message from CVS:
Removed silly debug printf
2002-11-02 14:39:59 +00:00
Wim Taymans
5821ffafd8 lots of metadata/query/seeking updates
Original commit message from CVS:
lots of metadata/query/seeking updates
2002-11-02 13:48:08 +00:00
David I. Lehn
cc74679be5 #include time.h for time()
Original commit message from CVS:
#include time.h for time()
2002-11-02 08:07:22 +00:00
Wim Taymans
f82e92096c Small fixes, added more query types
Original commit message from CVS:
Small fixes, added more query types
2002-11-01 17:06:08 +00:00
Wim Taymans
f97069b4dc More seeking and query/convert stuff, it's getting pretty complete now
Original commit message from CVS:
More seeking and query/convert stuff, it's getting pretty complete
now
2002-11-01 00:40:15 +00:00
Wim Taymans
5207b79805 formatting cleanups convert more stuff to the generic seeking/convert/query interface
Original commit message from CVS:
formatting cleanups
convert more stuff to the generic seeking/convert/query interface
2002-10-31 00:06:48 +00:00
Wim Taymans
f5f94ecf02 Really remove vorbisdec so it can register again
Original commit message from CVS:
Really remove vorbisdec so it can register again
2002-10-30 20:30:58 +00:00
Thomas Vander Stichele
53fdee3891 deprecating vorbisdec
Original commit message from CVS:
deprecating vorbisdec
2002-10-29 22:55:52 +00:00
Thomas Vander Stichele
8984e091f5 Uraeus : how much license fields do you think you missed ? ;)
Original commit message from CVS:
Uraeus : how much license fields do you think you missed ? ;)
This ought to be fixed for the release
2002-10-29 14:30:33 +00:00
Christian Schaller
9e683175b3 fixed shout2 building
Original commit message from CVS:
fixed shout2 building
2002-10-29 12:02:31 +00:00
Thomas Vander Stichele
a88782e66b this patch implements metadata the wtay way.
Original commit message from CVS:
this patch implements metadata the wtay way.
some other stuff I still need to clean up to make it work well.
test it with
gst-launch filesrc location=... ! vorbisfile
2002-10-29 02:05:37 +00:00
Thomas Vander Stichele
b96b8a0815 standardize samplerate
Original commit message from CVS:
standardize samplerate
2002-10-27 15:58:03 +00:00
Wim Taymans
c22baccb85 Make sure to flush the header
Original commit message from CVS:
Make sure to flush the header
2002-10-20 22:27:53 +00:00
Wim Taymans
201c4a698e Don't push on unusable pads
Original commit message from CVS:
Don't push on unusable pads
2002-10-20 17:27:51 +00:00
Wim Taymans
168b9de977 - Implement queries and convert functions for vorbisenc + lots of cleanups/improvements
Original commit message from CVS:
- Implement queries and convert functions for vorbisenc + lots of
cleanups/improvements
- catch negotiation errors in vorbisfile
2002-10-20 17:11:10 +00:00
Wim Taymans
2809d5864a Added bitrate control and metadata
Original commit message from CVS:
Added bitrate control and metadata
2002-10-20 01:55:28 +00:00
Wim Taymans
58b9fad950 Small fixes
Original commit message from CVS:
Small fixes
2002-10-19 16:58:25 +00:00
Wim Taymans
cc76e0aacd Fix vorbisenc (bug 95097)
Original commit message from CVS:
Fix vorbisenc (bug 95097)
2002-10-19 16:57:08 +00:00
Jeremy Simon
891ef6848a add snapshot dir to Makefile
Original commit message from CVS:
add snapshot dir to Makefile
2002-10-18 22:36:34 +00:00
Iain Holmes
bd3e835cd7 Remove a dumb print that spams the console...
Original commit message from CVS:
Remove a dumb print that spams the console...
2002-09-29 23:45:54 +00:00
Iain Holmes
b376650e30 Use events rather than properties
Original commit message from CVS:
Use events rather than properties
When the speed property is set, set the ripping speed.
2002-09-28 23:28:37 +00:00
Wim Taymans
a39e31ba62 - state change cleanup
Original commit message from CVS:
- state change cleanup
- add timestamps (should make cdparanoia ! osssink work)
- g_object_notify some properties
2002-09-20 20:10:43 +00:00
Christian Schaller
5494e81a9e commiting iradio fix from walters
Original commit message from CVS:
commiting iradio fix from walters
2002-09-19 18:44:49 +00:00
Christian Schaller
e127f803f0 plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:52 +00:00
David Schleef
8801c9bdea Add swfdec to dist subdirs
Original commit message from CVS:
Add swfdec to dist subdirs
2002-09-17 22:44:47 +00:00
David Schleef
c5d1baf05a Add swfdec autoconf stuff
Original commit message from CVS:
Add swfdec autoconf stuff
2002-09-15 21:33:53 +00:00
Wim Taymans
41278f0703 - Don't close gnome-vfs if we didn't open it
Original commit message from CVS:
- Don't close gnome-vfs if we didn't open it
- Mark mmaped buffers as READONLY for inplace filters
2002-09-15 11:28:41 +00:00