Commit graph

2851 commits

Author SHA1 Message Date
Wim Taymans
ef63c32778 This is a rather large patch. Switched on -Wall compiler flag and fixed the warnings.
Original commit message from CVS:
This is a rather large patch. Switched on -Wall compiler flag and fixed
the warnings.
Made the Video for Linux more like it should be.
2000-02-27 23:18:38 +00:00
Wim Taymans
c144819530 Added a pull function in the gstpad. Modified the videosink to implement the pull. This function allows a source elem...
Original commit message from CVS:
Added a pull function in the gstpad. Modified the videosink to implement
the pull. This function allows a source element to request a buffer
from the destination. This is much more efficient because the
videosink can then pass a buffer with SHM to the element, which does
not require an aditional memcpy.
removed scaling from the videosink. I need something better.
2000-02-26 18:55:14 +00:00
Wim Taymans
54367bb65c test code for the Video for linux source
Original commit message from CVS:
test code for the Video for linux source
2000-02-25 23:19:44 +00:00
Wim Taymans
aa0b9ec506 Added a Video 4 linux source. Not generic at all and may not work on any other system but mine.
Original commit message from CVS:
Added a Video 4 linux source. Not generic at all and may not work
on any other system but mine.
2000-02-25 23:18:51 +00:00
Wim Taymans
a45625d478 Speedup in mpg123 parsing. speedup in mp1videoparse. rearanged the
Original commit message from CVS:
Speedup in mpg123 parsing. speedup in mp1videoparse. rearanged the
MPEG player got rid of some memcpy. bit handling changes.
MMX code for the IDCT and motion compensation in mpeg_play.
Almost as fast as the commercial mpeg player mtv, but with a much
better video quality :-)
2000-02-24 20:56:23 +00:00
Wim Taymans
2810e739f6 Added GdkPixbuf support and scaling (sloww...)
Original commit message from CVS:
Added GdkPixbuf support and scaling (sloww...)
2000-02-20 16:19:50 +00:00
Wim Taymans
a14849fea8 Fixed the lockup by not calling any gtk functions in the main thread.
Original commit message from CVS:
Fixed the lockup by not calling any gtk functions in the main thread.
This is not good.
2000-02-19 10:50:26 +00:00
Wim Taymans
95adba8f9d Set the default buffer size to 1 to avoid the strange lockups...
Original commit message from CVS:
Set the default buffer size to 1 to avoid the strange lockups...
2000-02-18 23:48:45 +00:00
Wim Taymans
48c04a1661 The first functional video sink... Removed all of the video stuff from the MPEG video decoder. Fixed a bug in smoothw...
Original commit message from CVS:
The first functional video sink... Removed all of the video stuff
from the MPEG video decoder. Fixed a bug in smoothwave.
The MPEG video decoder still does the YUV->RGB conversion.
2000-02-18 23:07:33 +00:00
Wim Taymans
13198c06fa MPEG1 cleanup. Added first (non functional) video sink.
Original commit message from CVS:
MPEG1 cleanup. Added first (non functional) video sink.
2000-02-17 22:50:28 +00:00
Wim Taymans
4660e95926 Fixed memory leak in queue.
Original commit message from CVS:
Fixed memory leak in queue.
2000-02-16 23:27:45 +00:00
Wim Taymans
b797f15e3a Cleanup, fixed some bugs in the parsers, fixed memory leak (not all of them yet)
Original commit message from CVS:
Cleanup, fixed some bugs in the parsers, fixed memory leak (not all of them
yet)
2000-02-16 16:44:54 +00:00
Wim Taymans
38542a9c2d Fixed (hopfully) the last bug in MPEG1 video player. A state bug caused some I-frames to be skipped.
Original commit message from CVS:
Fixed (hopfully) the last bug in MPEG1 video player. A state bug caused
some I-frames to be skipped.
2000-02-15 20:14:01 +00:00
Erik Walthinsen
d4e99eeef6 updated .cvsignores
Original commit message from CVS:
updated .cvsignores
2000-02-15 00:32:00 +00:00
Wim Taymans
b099671ab7 Made queue default bigger. fixed parsing errors in mp3parse mpeg1parse mp1videoparse: more than 2 zeros and a 1 is al...
Original commit message from CVS:
Made queue default bigger.
fixed parsing errors in mp3parse mpeg1parse mp1videoparse: more than 2
zeros and a 1 is also a sync.
fixed MPEG1 video SKIP_PICTURE which caused a segfault. AlienSong now
plays as it should do. Skips are currently ignored and give some error
on the console, need to clean this up.
2000-02-13 15:20:49 +00:00
Wim Taymans
f3f3a99f1e Fixed the queue length (fixed length 5 for now). fixed mpeg1 video rate control.
Original commit message from CVS:
Fixed the queue length (fixed length 5 for now).
fixed mpeg1 video rate control.
AlienSong segfaults sometimes. My other movies don't....
2000-02-13 13:43:32 +00:00
Erik Walthinsen
d224516279 Rearranged and updated mp1parse. Indentation is sane again (what editor and it now uses threads. Playback is clean ...
Original commit message from CVS:
Rearranged and updated mp1parse.  Indentation is sane again (what editor
are you using, Wim?), and it now uses threads.  Playback is clean (at
least, audio and video are running smoothly.  Video is still a little
choppy on my test stream (first 1MB from disk two of Mulan VCD), and it's
still wildly out of sync, but it's looking VERY COOL.
2000-02-12 23:09:57 +00:00
Erik Walthinsen
1f05e5a957 Changed the way state is dealt with when a child is added to the bin. The note states that the COMPLETE state should...
Original commit message from CVS:
Changed the way state is dealt with when a child is added to the bin.  The
note states that the COMPLETE state should probably reflect nothing more
than whether or not there is a child in the bin, not whether or not all
children are COMPLETE.  I need to write out a few scenarios for complex
pipeline manipulations to figure out how all the states should interact.
The idea is to maintain the ability to dynamically recofigure the
pipeline.
2000-02-12 23:08:06 +00:00
Wim Taymans
d6d5df1f9d The first functional video MPEG1 decoder. The decoder still opens a window to show the video. This is not optimised a...
Original commit message from CVS:
The first functional video MPEG1 decoder. The decoder still opens a window
to show the video. This is not optimised at all. Some glitches and
crashes due to bugs in mp1videoparse.c. I need to queue incomplete
slices in mp1videoparse before sending them to the decoder.
use test/mp1parse on your favorite video to test. No audio/video sync,
no QoS at all.
2000-02-12 12:20:32 +00:00
Wim Taymans
12f3571c50 Optimisations to mp3decode and mp3parse (subbuffers) mp1videoparse now correctly pushes buffers in complete chuncks.
Original commit message from CVS:
Optimisations to mp3decode and mp3parse (subbuffers)
mp1videoparse now correctly pushes buffers in complete chuncks.
2000-02-10 17:02:34 +00:00
Wim Taymans
b2e0448541 Added MPEG1 video parser.
Original commit message from CVS:
Added MPEG1 video parser.
2000-02-08 22:36:20 +00:00
Wim Taymans
f6ba2d4db2 Added compiler optimistaion flags to mpg123. reverted to old WRITE_SAMPLE which was much faster.
Original commit message from CVS:
Added compiler optimistaion flags to mpg123. reverted to old WRITE_SAMPLE
which was much faster.
Added mpeg_play, the MPEG1 video player. It does not work yet.
2000-02-07 19:04:33 +00:00
Wim Taymans
10f7e52698 Added metadata to mpg123 buffers. removed (disabeled) debug info.
Original commit message from CVS:
Added metadata to mpg123 buffers. removed (disabeled) debug info.
2000-02-06 22:04:47 +00:00
Wim Taymans
b6a297bf09 Fixed the mpeg 1 parser. It can now be used to playback the audio stream of an MPEG1 movie (check out test/mp1parse.c).
Original commit message from CVS:
Fixed the mpeg 1 parser. It can now be used to playback the audio stream
of an MPEG1 movie (check out test/mp1parse.c).
2000-02-06 18:50:38 +00:00
Wim Taymans
8dfef4d6b6 cleanup. Still not working...
Original commit message from CVS:
cleanup. Still not working...
2000-02-06 01:52:15 +00:00
Wim Taymans
514ac0999d The mpeg1 parser test program.
Original commit message from CVS:
The mpeg1 parser test program.
2000-02-06 00:56:12 +00:00
Wim Taymans
56da452544 Some changes to the mpeg 1 parser. Does not work yet.
Original commit message from CVS:
Some changes to the mpeg 1 parser. Does not work yet.
2000-02-06 00:55:23 +00:00
Wim Taymans
3cb7f2a649 Fixed a nasty bug in mp3parse (partial buffer state remained)
Original commit message from CVS:
Fixed a nasty bug in mp3parse (partial buffer state remained)
Added eos check for the test programs to stop them from allocating all
of your memory (had to use alt-sysreq-k a few times :-( ).
MPEG layer 1 plays fine now with mp3play.
2000-02-05 01:20:11 +00:00
Richard Boulton
5d5807c0d5 Compile a test program to ensure that we have working atomic resource counting.
Original commit message from CVS:
Compile a test program to ensure that we have working atomic resource
counting.

A few small changes (include headers, fix a cast) to stop compiler
warnings.
2000-02-04 02:25:34 +00:00
Erik Walthinsen
65e7c2e158 More documentation changes, a couple configure.in and Makefile.am fixes.
Original commit message from CVS:
More documentation changes, a couple configure.in and Makefile.am fixes.
2000-02-02 06:26:44 +00:00
Wim Taymans
d946ac7b3c Fixed lowercase PLUGINS_USE_SRCDIR which made running test apps fail.
Original commit message from CVS:
Fixed lowercase PLUGINS_USE_SRCDIR which made running test apps fail.
Added GHTTP_LIBS to the libraries.
commented out mm_support() call, wich is not working yet and causes errors.
2000-02-01 20:35:14 +00:00
Wim Taymans
ffd6d98e9d Try to compile a little mmx program, set the default value of HAVE_LIBMMX. some typos fixed. Changed include path for...
Original commit message from CVS:
Try to compile a little mmx program, set the default value of HAVE_LIBMMX.
some typos fixed. Changed include path for volume.c. RTjpeg uses mmx.h
2000-02-01 19:40:10 +00:00
Erik Walthinsen
56a79fbfcc Re- set up the gtk-doc system. I'd managed to mutilate it a while back, but now it's fixed. I'll put a copy of the ...
Original commit message from CVS:
Re- set up the gtk-doc system.  I'd managed to mutilate it a while back,
but now it's fixed.  I'll put a copy of the HTML output somewhere on the
website tonight.

In order to actually generate the docs, you'll have to install all the
DocBook tools, as well as gtk-doc from GNOME cvs.  (see
http://developer.gnome.org/arch/doc/tools.html)

Notes (I'll codify these some day):

- Don't believe the Gnome page, always edit the SOURCES when documenting a
given function, never the tmpl file.
- I'll be re-arranging things a lot, but gtk-doc is smart enough to merge
any changes to the tmpl file.  However, gtk-doc's merge and CVS's diff are
two entirely separate animals.  We should probably have a virtual mutex on
the entire docs/gst/ directory, over and above what CVS does.
- I'm going to try to end up with a book set (docbook terms), where
docs/gst/ is only one book.  There'd be another called docs/manual/, and
another docs/plugins/, etc.  If you have any comments as to how these
should be done, gstreamer-devel is the place.
2000-02-01 09:16:43 +00:00
Richard Boulton
dc38347cee Tidy up of configure script.
Original commit message from CVS:
Tidy up of configure script.
Make libghttp detection work at all.
Make library configuration specifiable on configure commandline.
Make detection of atomic resource stuff cope with 2.0 linux kernels.
Fix typo (HAVE_ATOMIC_T for HAVE_ATOMIC_H).
Remove generated ltmain.sh file from mp3decode.
2000-02-01 04:10:58 +00:00
Wim Taymans
2ced491ef1 Added general MMX macros.
Original commit message from CVS:
Added general MMX macros.
2000-01-31 22:53:01 +00:00
Erik Walthinsen
0032727103 More incremental updates. I can now successfully produce an rpm simply by typing ./autogen.sh;make rpm. This is g...
Original commit message from CVS:
More incremental updates.  I can now successfully produce an rpm simply by
typing `./autogen.sh;make rpm`.  This is good ;-)
2000-01-31 09:43:08 +00:00
Erik Walthinsen
a45e61281d gah, missed Makefile.am of all files...
Original commit message from CVS:
gah, missed Makefile.am of all files...
2000-01-31 06:49:07 +00:00
Erik Walthinsen
4075335806 A bunch more changes to clean up build/make dist issues, as well as a spec file, -config file, .m4, etc. Next step...
Original commit message from CVS:
A bunch more changes to clean up build/`make dist` issues, as well as a
spec file, -config file, .m4, etc.  Next step is to build an RPM of this
mess.
2000-01-31 06:46:18 +00:00
Erik Walthinsen
0bc672ec72 Various fixes that collectively allow make dist to work.
Original commit message from CVS:
Various fixes that collectively allow `make dist` to work.
2000-01-31 05:55:22 +00:00
Erik Walthinsen
3ada045e2e uh, forgot to do the root .cvsignore...
Original commit message from CVS:
uh, forgot to do the root .cvsignore...
2000-01-31 04:22:25 +00:00
Erik Walthinsen
af38527ad1 OK, I think I've got all the .cvsignore stuff taken care of, though we'll want to fine-tune things as we go, of cours...
Original commit message from CVS:
OK, I think I've got all the .cvsignore stuff taken care of, though we'll
want to fine-tune things as we go, of course.  Most of them are the same,
with some exceptions for directories that produce executables (those are
listed by name after the standard ones and a newline for separation).
2000-01-31 03:36:35 +00:00
Erik Walthinsen
991af0b774 initial checkin
Original commit message from CVS:
initial checkin
2000-01-31 03:25:25 +00:00
Erik Walthinsen
419640438a - added usage info
Original commit message from CVS:
- added usage info
- uses first arg as registry filename
- any additional args are plugins to search for (no change but argv base)
- cleaned up output with a spare \n
2000-01-31 03:22:49 +00:00
Erik Walthinsen
e4f151a2ce RTjpeg plugin with several elements. It's currently a skeleton, doing no work at all. Need to have a video display ...
Original commit message from CVS:
RTjpeg plugin with several elements.  It's currently a skeleton, doing no
work at all.  Need to have a video display element, some kind of
simulation source (read from .ppm, a la what I do at work to solve the
exact same problem), raw video types, metadata structs, etc.

The RTjpeg.[ch] code is taken from a just-downloaded copy from Justin's
site, with some fixes (#include <asm/types.h> to get __u64,etc).  Once the
aforementioned infrastructure is in place, the elements can actually be
set up to do the encode/decode, and we'll have our first functioning video
codec in place. ;-)
2000-01-31 03:02:52 +00:00
Erik Walthinsen
0f55b5399b .cvsignore for gst/meta/, and *still* testing loginfo (do I have it right yet???)
Original commit message from CVS:
.cvsignore for gst/meta/, and *still* testing loginfo (do I have it right yet???)
2000-01-31 02:43:01 +00:00
Erik Walthinsen
660f47c067 .cvsignore for gst/types/, still testing loginfo script(s)
Original commit message from CVS:
.cvsignore for gst/types/, still testing loginfo script(s)
2000-01-31 01:24:22 +00:00
Erik Walthinsen
13c456bcf7 .cvsignore for gst/elements/, also testig loginfo script
Original commit message from CVS:
.cvsignore for gst/elements/, also testig loginfo script
2000-01-31 01:11:32 +00:00
Erik Walthinsen
e9b66880a7 .cvsignore for gst/, also testing loginfo script
Original commit message from CVS:
.cvsignore for gst/, also testing loginfo script
2000-01-31 00:02:39 +00:00
Wim Taymans
b8a3a19774 Changed Makefiles to: detect xaudio (check header xaudio/decoder.h) detect mmx.h need something better.
Original commit message from CVS:
Changed Makefiles to:
detect xaudio (check header xaudio/decoder.h)
detect mmx.h
detect CSS (check if css.c is in plugins/dvdsrc), need something better.
some LDFLAGS had *.la dependencies which failed for libtool

The build is now 100% on my system.
2000-01-30 22:50:27 +00:00
Erik Walthinsen
0ec400890c initial checkin
Original commit message from CVS:
initial checkin
2000-01-30 10:44:33 +00:00