Commit graph

316 commits

Author SHA1 Message Date
Stéphane Loeuillet
ec8a1bb76c first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
Original commit message from CVS:

first batch :
remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
2004-05-21 22:39:30 +00:00
Ronald S. Bultje
26fe995a13 gst/: Add MS RLE support. I added some functions to read out strf chunks into strf chunks and the data behind it. Thi...
Original commit message from CVS:
reviewed by: <delete if not using a buddy>
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_caps), (gst_riff_create_audio_caps),
(gst_riff_create_video_template_caps),
(gst_riff_create_audio_template_caps):
* gst-libs/gst/riff/riff-media.h:
* gst-libs/gst/riff/riff-read.c:
(gst_riff_read_strf_vids_with_data), (gst_riff_read_strf_vids):
* gst-libs/gst/riff/riff-read.h:
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Add MS RLE support. I added some functions to read out strf chunks
into strf chunks and the data behind it. This is usually color
palettes (as in RLE, but also in 8-bit RGB). Also use those during
caps creation. Lastly, add ADPCM (similar to wavparse - which
should eventually be rifflib based).
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),
(gst_matroska_demux_init), (gst_matroska_demux_reset):
* gst/matroska/matroska-demux.h:
Remove placeholders for some prehistoric tagging system. Didn't add
support for any tag system really anyway.
* gst/qtdemux/qtdemux.c:
Add support for audio/x-m4a (MPEG-4) through spider.
* gst/wavparse/gstwavparse.c: (gst_wavparse_parse_fmt),
(gst_wavparse_loop):
ADPCM support (#135862). Increase max. buffer size because we
cannot split buffers for ADPCM (screws references) and I've seen
files with 2048 byte chunks. 4096 seems safe for now.
2004-04-16 01:20:44 +00:00
David Schleef
9414aca1c5 common/m4/gst-feature.m4: Call -config scripts with
Original commit message from CVS:
* common/m4/gst-feature.m4: Call -config scripts with
--plugin-libs if it is supported.
* gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect): sequences of
JPEG images are image/jpeg.
* gst/debug/Makefile.am:
* gst/debug/negotiation.c: (gst_negotiation_class_init),
(gst_negotiation_getcaps), (gst_negotiation_pad_link),
(gst_negotiation_update_caps), (gst_negotiation_get_property),
(gst_negotiation_plugin_init): Add a property that acts like
filter caps.
* testsuite/gst-lint:  Move license checking to be a standard
test.
2004-04-13 23:25:19 +00:00
Sebastien Cote
23222fefd2 gst/avi/gstavidemux.c: Fix memleak. patch from Sebastien Cote (bug #139958)
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_reset): Fix memleak.
patch from Sebastien Cote (bug #139958)
2004-04-13 21:34:29 +00:00
Ronald S. Bultje
d5153a8691 gst/avi/gstavidemux.c: Handle JUNK chunks inside data section. Prevents warnings.
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_data):
Handle JUNK chunks inside data section. Prevents warnings.
2004-04-11 22:09:26 +00:00
Ronald S. Bultje
0b122a2891 gst-libs/gst/riff/riff-media.c: Add MS video v1.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_video_template_caps):
Add MS video v1.
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_index),
(gst_avi_demux_stream_data):
Add support for "rec-list" chunks.
2004-04-11 21:36:45 +00:00
Thomas Vander Stichele
6cc1c73d2b don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:27 +00:00
Johan Dahlin
5acffea623 *.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
2004-03-15 16:32:54 +00:00
Thomas Vander Stichele
5d25c00e4b gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:33 +00:00
Julien Moutte
c74043423e gst/: First batch implementing audio and video codec tags in demuxers.
Original commit message from CVS:
2004-02-23  Julien MOUTTE  <julien@moutte.net>

* gst-libs/gst/riff/riff-media.c: (gst_riff_create_video_caps),
(gst_riff_create_audio_caps), (gst_riff_create_iavs_caps),
(gst_riff_create_video_template_caps),
(gst_riff_create_audio_template_caps),
(gst_riff_create_iavs_template_caps):
* gst-libs/gst/riff/riff-media.h:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_audio_caps), (gst_asf_demux_add_audio_stream),
(gst_asf_demux_video_caps), (gst_asf_demux_add_video_stream):
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_add_stream),
(gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps),
(gst_matroska_demux_plugin_init): First batch implementing audio and
video codec tags in demuxers.
2004-02-23 22:16:21 +00:00
David Schleef
f1d84d8ae7 Build fixes for OS X: (see #129600)
Original commit message from CVS:
Build fixes for OS X: (see #129600)
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_strh),
(gst_riff_read_strf_vids), (gst_riff_read_strf_auds),
(gst_riff_read_strf_iavs):
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih),
(gst_avi_demux_stream_odml):
* gst/playondemand/Makefile.am:
* gst/rtp/rtp-packet.c:
2004-02-07 01:34:05 +00:00
Thomas Vander Stichele
ca831f952a remove textdomain calls
Original commit message from CVS:
remove textdomain calls
2004-02-02 22:25:38 +00:00
Thomas Vander Stichele
79bc3ebfa1 change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS:
change NULL to (NULL) for GST_ELEMENT_ERROR
Make sure errors end with "."
2004-02-02 17:23:33 +00:00
Thomas Vander Stichele
51e5863a97 GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
2004-01-29 23:20:45 +00:00
David Schleef
9f8051c5ea gst/ac3parse/gstac3parse.c: update to checklist 5
Original commit message from CVS:
* gst/ac3parse/gstac3parse.c: update to checklist 5
* gst/adder/gstadder.c: rewrite negotiation.  update to checklist 5
* gst/audioconvert/gstaudioconvert.c: update to checklist 5
* gst/audioscale/gstaudioscale.c: same
* gst/auparse/gstauparse.c: same
* gst/avi/gstavidemux.c: same
2004-01-27 09:00:01 +00:00
Ronald S. Bultje
2c82da7073 gst/avi/gstavidemux.c: The index reading was broken. The rest worked fine, but the whole goal of my rewrite was to ma...
Original commit message from CVS:
2004-01-25  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih),
(gst_avi_demux_stream_odml), (gst_avi_demux_stream_index):
The index reading was broken. The rest worked fine, but the whole
goal of my rewrite was to make avidemux readable, and this was
not at all readable. Please use typed variables.
2004-01-25 00:43:16 +00:00
Benjamin Otte
2de9e90128 gst/avi/gstavidemux.c: don't write to buffer. Extract data without the need of __attribute__ ((packed))
Original commit message from CVS:
2004-01-23  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* gst/avi/gstavidemux.c: (gst_avi_demux_stream_avih),
(gst_avi_demux_stream_odml), (gst_avi_demux_stream_index):
don't write to buffer. Extract data without the need of
__attribute__ ((packed))
2004-01-23 17:45:54 +00:00
Ronald S. Bultje
37ac1f6617 ext/ogg/gstoggdemux.c: Fix wrong file comment.
Original commit message from CVS:
2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/ogg/gstoggdemux.c:
Fix wrong file comment.
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_info):
* gst/avi/gstavidemux.c: (gst_avi_demux_stream_header):
Add metadata reading properly.
2004-01-23 13:22:16 +00:00
Thomas Vander Stichele
469936a3bd putting i18n in place for plugins
Original commit message from CVS:
putting i18n in place for plugins
2004-01-19 15:45:55 +00:00
Thomas Vander Stichele
8fd7df0cb5 fix i18n include
Original commit message from CVS:
fix i18n include
2004-01-19 13:50:39 +00:00
Thomas Vander Stichele
3b0cf935f6 use new error signal and classification
Original commit message from CVS:
use new error signal and classification
2004-01-18 21:46:58 +00:00
Ronald S. Bultje
6ac4353319 Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower o...
Original commit message from CVS:
2004-01-07  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain),
(gst_afsink_handle_event):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_init):
* gst/avi/gstavimux.c: (gst_avimux_request_new_pad):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
Fix for instantiate-test (see core). Also remove dead code from
jpegenc (which still needs fixing, but that's lower on my TODO
list...).
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps):
Never return NULL as caps.
2004-01-07 13:18:08 +00:00
Ronald S. Bultje
39a338d51c configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of 1.6.1.92, since the pkg-config file of 1....
Original commit message from CVS:
2004-01-01  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Fix configure check for mpeg2enc. We need 1.6.1.93 instead of
1.6.1.92, since the pkg-config file of 1.6.1.92 is borked and
it therefore uses the wrong include paths. Too bad... Note
that 1.6.1.93 is not release yet. ;).
Also add a check for mplex, which is now using the lib'ified
mplex from mjpegtools, too.
* ext/ffmpeg/gstffmpegcodecmap.c:
Add codec_tag for 3ivx/xvid. For xvid, this should fix playback
issues. I don't think ffmpeg handles 3ivx correctly, so this
probably won't work. But it won't hurt either.
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect),
(gst_ffmpegdec_chain):
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect),
(gst_ffmpegenc_chain_audio):
Fix memleak in audio encoding. Close codec if open fails, this
calls the cleanup routines so we can re-use the context.
* ext/mpeg2enc/gstmpeg2enc.cc:
Fix pad template names/types, fix memory issue with getcaps().
* ext/mpeg2enc/gstmpeg2encoder.cc:
* ext/mpeg2enc/gstmpeg2encoder.hh:
Fix compile issue with new caps system (const thingy).
* ext/mpeg2enc/gstmpeg2encpicturereader.cc:
* ext/mpeg2enc/gstmpeg2encpicturereader.hh:
We read a first frame right on initing, so that we have a caps
when we init the output. This caps is cached in padprivate and
read as first frame.
* ext/mplex/Makefile.am:
* ext/mplex/gstmplex.cc:
* ext/mplex/gstmplex.h:
* ext/mplex/gstmplex.hh:
* ext/mplex/gstmplexibitstream.cc:
* ext/mplex/gstmplexibitstream.hh:
* ext/mplex/gstmplexjob.cc:
* ext/mplex/gstmplexjob.hh:
* ext/mplex/gstmplexoutputstream.cc:
* ext/mplex/gstmplexoutputstream.hh:
We wrap mjpegtools mplex. So I rewrote the plugin. The old plugin
had issues, didn't do capsnego, supported only a subset of the
mplex features and required a mplex fork in our local CVS. Plus
that it worked agaist a very old mplex version. Rewriting was
faster than updating it.
* gst-libs/ext/Makefile.am:
* gst-libs/ext/mplex/INSTRUCT:
* gst-libs/ext/mplex/Makefile.am:
* gst-libs/ext/mplex/README:
* gst-libs/ext/mplex/TODO:
* gst-libs/ext/mplex/ac3strm_in.cc:
* gst-libs/ext/mplex/audiostrm.hh:
* gst-libs/ext/mplex/audiostrm_out.cc:
* gst-libs/ext/mplex/aunit.hh:
* gst-libs/ext/mplex/bits.cc:
* gst-libs/ext/mplex/bits.hh:
* gst-libs/ext/mplex/buffer.cc:
* gst-libs/ext/mplex/buffer.hh:
* gst-libs/ext/mplex/fastintfns.h:
* gst-libs/ext/mplex/format_codes.h:
* gst-libs/ext/mplex/inputstrm.cc:
* gst-libs/ext/mplex/inputstrm.hh:
* gst-libs/ext/mplex/lpcmstrm_in.cc:
* gst-libs/ext/mplex/mjpeg_logging.cc:
* gst-libs/ext/mplex/mjpeg_logging.h:
* gst-libs/ext/mplex/mjpeg_types.h:
* gst-libs/ext/mplex/mpastrm_in.cc:
* gst-libs/ext/mplex/mpegconsts.cc:
* gst-libs/ext/mplex/mpegconsts.h:
* gst-libs/ext/mplex/mplexconsts.hh:
* gst-libs/ext/mplex/multplex.cc:
* gst-libs/ext/mplex/outputstream.hh:
* gst-libs/ext/mplex/padstrm.cc:
* gst-libs/ext/mplex/padstrm.hh:
* gst-libs/ext/mplex/stillsstream.cc:
* gst-libs/ext/mplex/stillsstream.hh:
* gst-libs/ext/mplex/systems.cc:
* gst-libs/ext/mplex/systems.hh:
* gst-libs/ext/mplex/vector.cc:
* gst-libs/ext/mplex/vector.hh:
* gst-libs/ext/mplex/videostrm.hh:
* gst-libs/ext/mplex/videostrm_in.cc:
* gst-libs/ext/mplex/videostrm_out.cc:
* gst-libs/ext/mplex/yuv4mpeg.cc:
* gst-libs/ext/mplex/yuv4mpeg.h:
* gst-libs/ext/mplex/yuv4mpeg_intern.h:
* gst-libs/ext/mplex/yuv4mpeg_ratio.cc:
We don't fork mjpegtools' mplex in our CVS anymore.
* gst/avi/gstavidemux.c: (gst_avi_demux_src_getcaps),
(gst_avi_demux_add_stream):
* gst/avi/gstavidemux.h:
Add getcaps() function for proper caps nego. This makes some
parts of AVI playback/reading work.
* sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect):
Resize window on new capsnego. This is probably wrong, but
I'm still committing it because with current capsnego, the
first successfull capsnego is auto-fixated, therefore rounded
down to the lowest values in the caps. this results in a 16x16
XWindow that is not reized when real capsnego finishes.
Dave, I see more cases of this, do you know a proper solution?
* tools/gst-launch-ext.in:
Fix MPEG-4 AAC (Apple iPod/iTunes) file commandline.
2004-01-01 22:45:57 +00:00
David Schleef
ce51f6173c Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:09 +00:00
Ronald S. Bultje
12e856c26d Riff, EBML, fourcc etc. work. Not fully finished, but better than what we used to have and definately worth a first b...
Original commit message from CVS:
Riff, EBML, fourcc etc. work. Not fully finished, but better than
what we used to have and definately worth a first broad testing.

I've revived rifflib. Rifflib used to be a bytestream-for-riff, which
just dup'ed bytestream. I've rewritten rifflib to be a modern riff-
chunk parser that uses bytestream fully, plus adds some extra functions
so that riff file parsing becomes extremely easy. It also contains some
small usability functions for strh/strf and metadata parsing. Note that
it doesn't use the new tagging yet, that's a TODO.

Avidemux has been rewritten to use this. I think we all agreed that
avidemux was pretty much a big mess, which is because it used all
sort of bytestream magic all around the place. It was just ugly.
This is a lot nicer, very complete and safe. I think this is far more
robust than what the old avidemux could ever have been. Of course, it
might contain bugs, please let me know.

EBML writing has also been implemented. This is useful for matroska.
I'm intending to modify avidemux (with a riffwriter) similarly. Maybe
I'll change wavparse/-enc too to use rifflib.

Lastly, several plugins have been modified to use rifflib's fourcc
parsing instead of their own. this puts fourcc parsing in one central
place, which should make it a lot simpler to add new fourccs. We might
want to move this to its own lib instead of rifflib.

Enjoy!
2003-12-07 20:00:41 +00:00
Andy Wingo
e46d34995d remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:38 +00:00
David Schleef
f1d94660c5 Change everyone to video/x-msvideo
Original commit message from CVS:
Change everyone to video/x-msvideo
2003-11-27 21:49:39 +00:00
Benjamin Otte
4db301b2e5 License is GST_LICENSE, make own debugging category and fix some debug statements
Original commit message from CVS:
License is GST_LICENSE, make own debugging category and fix some debug statements
2003-11-24 23:11:42 +00:00
Ronald S. Bultje
ef93dc47b4 Since padtemplates are now owned by the class, we should use the class function to retrieve them for comparison
Original commit message from CVS:
Since padtemplates are now owned by the class, we should use the class function to retrieve them for comparison
2003-11-09 13:48:36 +00:00
Ronald S. Bultje
5621eae1c5 Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes fro...
Original commit message from CVS:
Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-07 12:47:01 +00:00
David Schleef
69277f05a7 Merge plugins. Update to new plugin init code
Original commit message from CVS:
Merge plugins.  Update to new plugin init code
2003-11-01 02:07:52 +00:00
David Schleef
dcab47e405 avidemux still depends on riff
Original commit message from CVS:
avidemux still depends on riff
2003-10-31 20:03:49 +00:00
Iain Holmes
64eb55d84a Doesn't need to load gstriff
Original commit message from CVS:
Doesn't need to load gstriff
2003-10-31 12:39:41 +00:00
David Schleef
ce372fab75 change gst/bytestream.h to gst/bytestream/bytestream.h
Original commit message from CVS:
change gst/bytestream.h to gst/bytestream/bytestream.h
2003-10-29 03:15:55 +00:00
Benjamin Otte
c9ae463a4f merge TYPEFIND branch. Major changes:
Original commit message from CVS:
merge TYPEFIND branch. Major changes:
- totally reworked type(find) system
- all typefind functions are in gst/typefind now
- more typefind functions then before
- some plugins might fail to compile now because I don't have them installed and they
a) require bytestream or
b) haven't had their typefind fixed.
Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
2003-10-28 20:52:41 +00:00
Ronald S. Bultje
c5c78205bc Remove can_seek () because eventmasks was removed from sink pads - grrr
Original commit message from CVS:
Remove can_seek () because eventmasks was removed from sink pads - grrr
2003-10-09 22:11:53 +00:00
Andy Wingo
f2d5cae8da /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:18 +00:00
Ronald S. Bultje
38946080fd New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...
Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups
2003-10-01 13:14:52 +00:00
Ronald S. Bultje
51e244fe4a Set keyframe flag only when it is a keyframe. This will break quite some formats because many encoders dont set this ...
Original commit message from CVS:
Set keyframe flag only when it is a keyframe. This will break quite some formats because many encoders dont set this flag correctly, but I'll fix that as I encounter them. divx5 works correctly now. ;).
2003-09-30 21:06:43 +00:00
Thomas Vander Stichele
54b0fe0f94 reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:02 +00:00
Benjamin Otte
2cefb50429 converted gst_element_error to new format in gst/ - gettext pending
Original commit message from CVS:
converted gst_element_error to new format in gst/ - gettext pending
2003-09-15 00:34:47 +00:00
Ronald S. Bultje
f04b1b7858 Check for seekability and use gst_pad_push() instead of gst_pad_send_event()
Original commit message from CVS:
Check for seekability and use gst_pad_push() instead of gst_pad_send_event()
2003-09-12 11:39:29 +00:00
Ronald S. Bultje
f663868fcd Clarify DV type 1/2 difference
Original commit message from CVS:
Clarify DV type 1/2 difference
2003-09-12 11:39:05 +00:00
David Schleef
07e5bc672f Remove all locally-defined optimization flags
Original commit message from CVS:
Remove all locally-defined optimization flags
2003-09-11 19:57:59 +00:00
David Schleef
37fe79eef2 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
David Schleef
322baf19c8 Add buffer length checks to every typefinding function
Original commit message from CVS:
Add buffer length checks to every typefinding function
2003-07-24 08:49:42 +00:00
Ronald S. Bultje
d43be4033e Fix a warning
Original commit message from CVS:
Fix a warning
2003-07-22 21:07:46 +00:00
Ronald S. Bultje
6f35e4fcbe improve index offset calculation, fix some minor other issues and make avimux actually work with mp3 audio
Original commit message from CVS:
Fix padding (2 bytes instead of 4), improve index offset calculation, fix some minor other issues and make avimux actually work with mp3 audio
2003-07-22 20:55:08 +00:00
Brian Cameron
d0f73a2262 Support ISO style variable length macros
Original commit message from CVS:
Support ISO style variable length macros
2003-07-07 16:55:59 +00:00
Ronald S. Bultje
292fec2a0b New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-07-06 20:49:52 +00:00
Benjamin Otte
90da904f1e compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-29 19:46:12 +00:00
Ronald S. Bultje
082ae36645 Remove some more unused cruft left over from our ancient avifile period
Original commit message from CVS:
Remove some more unused cruft left over from our ancient avifile period
2003-06-26 21:33:14 +00:00
Benjamin Otte
3ecb3e1c09 gcc 3.3 and ppc fixes
Original commit message from CVS:
gcc 3.3 and ppc fixes
2003-06-14 20:10:11 +00:00
Ronald S. Bultje
2a0cef0c8b Actually push the event over to the next element instead of leaving it into eternity - thanks for Joshua for detecting
Original commit message from CVS:
Actually push the event over to the next element instead of leaving it into eternity - thanks for Joshua for detecting
2003-06-07 00:19:56 +00:00
Ronald S. Bultje
4cd27e99d5 Add support for new divx/xvid mimetypes
Original commit message from CVS:
Add support for new divx/xvid mimetypes
2003-06-01 17:00:45 +00:00
Ronald S. Bultje
186265276b Prevent warning
Original commit message from CVS:
Prevent warning
2003-06-01 13:28:46 +00:00
Ronald S. Bultje
d379242755 Oops
Original commit message from CVS:
Oops
2003-06-01 12:53:44 +00:00
Ronald S. Bultje
8bad3bd4ac This fixes avimux largely. Sound playback still isn't optimal, but at least we're getting somewhere
Original commit message from CVS:
This fixes avimux largely. Sound playback still isn't optimal, but at least we're getting somewhere
2003-06-01 12:23:46 +00:00
Ronald S. Bultje
04b611b88c Fix avimux (somewhat). Note: the EOS event still doesn't get through. This is completely braindead, I have no clue wh...
Original commit message from CVS:
Fix avimux (somewhat). Note: the EOS event still doesn't get through. This is completely braindead, I have no clue why, but setting this thing to PAUSE should do the trick too. EOS fix will come later on...
2003-05-30 23:05:29 +00:00
Wim Taymans
1c65404179 Update duration field
Original commit message from CVS:
Update duration field
2003-05-29 10:12:29 +00:00
Wim Taymans
9dc595c9b9 UNITS -> DEFAULT
Original commit message from CVS:
UNITS -> DEFAULT
2003-05-24 10:41:21 +00:00
Brian Cameron
1c7d5ad0d8 Updated autogen.sh/configure.ac and various Makefiles to make the configure script set up all gcc specific compiler a...
Original commit message from CVS:
Updated autogen.sh/configure.ac and various Makefiles to make the
configure script set up all gcc specific compiler arguments, rather
than hardcoding them in the Makefile.am files
2003-05-21 15:16:49 +00:00
Ronald S. Bultje
01d4e568c6 Hm, one more little endian fix
Original commit message from CVS:
Hm, one more little endian fix
2003-05-14 22:04:20 +00:00
Ronald S. Bultje
5a77a54a5a PCM data in AVI is always little endian
Original commit message from CVS:
PCM data in AVI is always little endian
2003-05-14 21:59:18 +00:00
Benjamin Otte
f49ab8e25e we do not destroy anything anymore. Not even unwanted pads
Original commit message from CVS:
we do not destroy anything anymore. Not even unwanted pads
2003-04-15 17:11:42 +00:00
Benjamin Otte
fe00dae6d4 added support for alaw/mulaw audio - yes, I have alaw encoded AVIs here
Original commit message from CVS:
added support for alaw/mulaw audio - yes, I have alaw encoded AVIs here
2003-04-14 02:18:46 +00:00
Wim Taymans
d3ebdad0b1 Bigendian fixes
Original commit message from CVS:
Bigendian fixes
2003-02-04 21:21:38 +00:00
Wim Taymans
2fe0c7b83e Endian fixes for index parsing.
Original commit message from CVS:
Endian fixes for index parsing.
2003-02-04 18:58:34 +00:00
Wim Taymans
9314894ee3 Fix endian issues with metadata. Some Cleanups too
Original commit message from CVS:
Fix endian issues with metadata. Some Cleanups too
2003-02-02 23:48:30 +00:00
David Schleef
df0b94aae4 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
Ronald S. Bultje
85f9831b2f add some extra checking on validity of pads before using them
Original commit message from CVS:
add some extra checking on validity of pads before using them
2003-01-31 23:42:58 +00:00
Ronald S. Bultje
1be30a4ce0 doh
Original commit message from CVS:
doh
2003-01-31 21:37:55 +00:00
Ronald S. Bultje
77329fbb2b Add metadata/streaminfo to AVI
Original commit message from CVS:
Add metadata/streaminfo to AVI
2003-01-31 19:37:26 +00:00
Wim Taymans
1655534c37 Don't use samplesize on video frames
Original commit message from CVS:
Don't use samplesize on video frames
2003-01-30 18:14:39 +00:00
Ronald S. Bultje
b0e9998114 DOH! (yes, I'm a moron)
Original commit message from CVS:
DOH! (yes, I'm a moron)
2003-01-28 20:02:14 +00:00
Ronald S. Bultje
0eb4d2208e Someone forgot to fix this connect->link thingy - can this go into 0.6.0 please?
Original commit message from CVS:
Someone forgot to fix this connect->link thingy - can this go into 0.6.0 please?
2003-01-26 16:25:59 +00:00
Wim Taymans
0a4bfffd11 Be nice to the indians
Original commit message from CVS:
Be nice to the indians
2003-01-25 23:18:52 +00:00
Wim Taymans
eee282c521 - Parse strn tag
Original commit message from CVS:
- Parse strn tag
- fix flush
2003-01-21 22:23:32 +00:00
Wim Taymans
b720115fca - new avi demuxer doesn't use a recursive infinite loop anymore
Original commit message from CVS:
- new avi demuxer doesn't use a recursive infinite loop anymore
- removed temporary riff.[ch] files
- removed aviparse from build
2003-01-20 20:49:34 +00:00
Christian Schaller
f4af920ba8 hmm, fix some build breakage
Original commit message from CVS:
hmm, fix some build breakage
2003-01-19 20:30:20 +00:00
Wim Taymans
fe48c46451 Really add A52 caps now
Original commit message from CVS:
Really add A52 caps now
2003-01-19 01:55:11 +00:00
Thomas Vander Stichele
06e299a3a5 don't break the build
Original commit message from CVS:
don't break the build
2003-01-18 23:53:43 +00:00
Wim Taymans
93f27006cf Added first unusable code that should become the base element for a new aviparser
Original commit message from CVS:
Added first unusable code that should become the base element for a new
aviparser
2003-01-18 18:09:47 +00:00
Wim Taymans
5d90723aed Don't barf on ISFT tags
Original commit message from CVS:
Don't barf on ISFT tags
2003-01-18 16:22:16 +00:00
Wim Taymans
8a878af24b Add a52 audio
Original commit message from CVS:
Add a52 audio
2003-01-18 16:13:29 +00:00
Iain Holmes
c2a5bb3a6a Handle JUNK and dmlh tags and when we find a broken/unknown chunk, just move to the next byte and try to see if it's ...
Original commit message from CVS:
Handle JUNK and dmlh tags and when we find a broken/unknown chunk, just move to the next byte and try to see if it's a known chunk
2003-01-15 00:41:40 +00:00
Thomas Vander Stichele
c2a01f482c PadConnect -> PadLink
Original commit message from CVS:
PadConnect -> PadLink
2003-01-10 13:38:32 +00:00
Thomas Vander Stichele
be876ae577 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
Wim Taymans
4d36ba7e87 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
Iain Holmes
efa337df0a Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
Original commit message from CVS:
Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
2002-12-08 17:20:41 +00:00
Thomas Vander Stichele
e16c50551b parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:09 +00:00
Wim Taymans
ea619028c7 Added segment seek
Original commit message from CVS:
Added segment seek
2002-11-02 13:47:00 +00:00
Ronald S. Bultje
027ddda3f0 Add ogg/vorbis support for avi files
Original commit message from CVS:
Add ogg/vorbis support for avi files
2002-10-27 18:08:43 +00:00
Ronald S. Bultje
3109e14e36 avi needs 4 byte padding
Original commit message from CVS:
avi needs 4 byte padding
2002-10-24 19:32:11 +00:00
Ronald S. Bultje
d0b157df9a Make it loopbased and use only one video and one audio pad. framerate is also no longer a property but is requested f...
Original commit message from CVS:
Make it loopbased and use only one video and one audio pad. framerate is also no longer a property but is requested from the source pad
2002-10-23 18:56:28 +00:00
David Schleef
a06f00ebb1 fix for big endian machines. Chunk ID conversion was being swabbed twice.
Original commit message from CVS:
fix for big endian machines.  Chunk ID conversion was being swabbed
twice.
2002-10-10 22:14:54 +00:00
Thomas Vander Stichele
6c1c00f8c6 api change
Original commit message from CVS:
api change
2002-10-02 08:05:23 +00:00
Wim Taymans
ef399ccaf4 Fix various overflow cases, this should fix seeking on very large files.
Original commit message from CVS:
Fix various overflow cases, this should fix seeking on very large
files.
2002-09-23 20:05:04 +00:00
Ronald S. Bultje
2218165b16 With these changes, the generated AVI has a valid index and can thus be read by players
Original commit message from CVS:
With these changes, the generated AVI has a valid index and can thus be read by players
2002-09-19 16:52:11 +00:00
Ronald S. Bultje
427a9c9432 License fix
Original commit message from CVS:
License fix
2002-09-19 15:39:22 +00:00
Ronald S. Bultje
b6b3c5f55a This fixes some problems when recording AVI files with gstrec
Original commit message from CVS:
This fixes some problems when recording AVI files with gstrec
2002-09-19 10:46:01 +00:00
Christian Schaller
2ff64d483e plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:51 +00:00
Wim Taymans
1868b0e348 const fixes
Original commit message from CVS:
const fixes
2002-09-12 20:53:56 +00:00
Thomas Vander Stichele
4ec41347e2 removing warnings (approved by wtay)
Original commit message from CVS:
removing warnings (approved by wtay)
2002-09-09 23:24:29 +00:00
Thomas Vander Stichele
629bc459df linked to a pending change in core
Original commit message from CVS:
linked to a pending change in core
2002-09-01 14:16:58 +00:00
Thomas Vander Stichele
4b9deaaf00 whoops, this shouldn'tvegonein
Original commit message from CVS:
whoops, this shouldn'tvegonein
2002-08-27 17:55:15 +00:00
Thomas Vander Stichele
509a2d42b1 sf's back
Original commit message from CVS:
sf's back
2002-08-27 17:45:07 +00:00
Wim Taymans
6bfb23d4d1 Don't send events on unusable pads
Original commit message from CVS:
Don't send events on unusable pads
2002-08-02 11:30:55 +00:00
Wim Taymans
22cfbdfe29 - added eventmask/query/format functions
Original commit message from CVS:
- added eventmask/query/format functions
- some cleanups
2002-07-24 21:41:38 +00:00
Thomas Vander Stichele
138929756f merge from release branch
Original commit message from CVS:
merge from release branch
2002-07-09 10:45:37 +00:00
Wim Taymans
8a4b3564b5 - properly unref events
Original commit message from CVS:
- properly unref events
- slightly better seeking
2002-07-08 19:40:37 +00:00
Andy Wingo
28672d474e fix multiline string
Original commit message from CVS:
fix multiline string
2002-07-04 16:52:03 +00:00
Wim Taymans
d9b0cf77a2 Separate the movi processing loop from the index/entry parsing loop
Original commit message from CVS:
Separate the movi processing loop from the index/entry parsing loop
Detect when the index starts from 0 or from the movi chunck offset
2002-06-18 19:17:04 +00:00
Wim Taymans
3616ba23f6 Hint bytestream about optimal size sync fixes for VBR streams
Original commit message from CVS:
Hint bytestream about optimal size
sync fixes for VBR streams
2002-06-14 20:01:47 +00:00
Wim Taymans
98ae5cb270 Ignore bogus index entries
Original commit message from CVS:
Ignore bogus index entries
Assume all audio frames are keyframes
2002-06-13 18:17:23 +00:00
Wim Taymans
32c37620a5 Fix sync on avidemux
Original commit message from CVS:
Fix sync on avidemux
2002-06-09 14:26:50 +00:00
Wim Taymans
cdfc0665ce Some cleanups, add convert functions
Original commit message from CVS:
Some cleanups, add convert functions
2002-06-02 21:42:49 +00:00
Thomas Vander Stichele
a1bdcdc0c8 UNITS fixes
Original commit message from CVS:
UNITS fixes
2002-06-02 15:51:08 +00:00
Wim Taymans
8b094e02a9 Remove media specific seeking type in favour of unit. xvimage compile fix.
Original commit message from CVS:
Remove media specific seeking type in favour of unit.
xvimage compile fix.
2002-06-02 11:57:13 +00:00
Steve Baker
afd592b066 add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't any...
Original commit message from CVS:
add ranks only for plugins who participate in autoplugging.  If you have a file that used to autoplug but doesn't anymore, then let me know or add a rank to the missing element.
2002-05-31 08:24:31 +00:00
Wim Taymans
dd75c7776c Implement an element event handler.
Original commit message from CVS:
Implement an element event handler.
2002-05-30 19:09:11 +00:00
Wim Taymans
91a716f915 - Changed plugins for new APIs
Original commit message from CVS:
- Changed plugins for new APIs
- modularized audiofile.
- added seeking, query and convert functions for mad, mpeg2dec,
avidemux, mpegdemux, mpegparse
- sync updates to oss. removed the ossclock for now
2002-05-26 21:59:22 +00:00
Steve Baker
c622ee22a8 use new bytestream api. please test if you care about this plugin
Original commit message from CVS:
use new bytestream api. please test if you care about this plugin
2002-05-15 19:05:41 +00:00
Andy Wingo
cca77e215b a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br...
Original commit message from CVS:
* a hack to work around intltool's brokenness
* a current check for mpeg2dec
* details->klass reorganizations
* an element browser that uses details->klass
* separated cdxa parse out from the avi directory
2002-04-20 21:42:51 +00:00
Wim Taymans
69e113d4e5 Fix the padtemplate names.
Original commit message from CVS:
Fix the padtemplate names.
2002-04-14 11:35:52 +00:00
Andy Wingo
3a9c675a68 GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Original commit message from CVS:
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

same with *factory and typefind.

also, some -Werror fixes.
2002-04-11 20:42:25 +00:00
Benjamin Otte
ffd4b556cc fixed first bunch of compiler warnings
Original commit message from CVS:
fixed first bunch of compiler warnings
2002-04-06 03:40:14 +00:00
Wim Taymans
13d9e8d352 Changed to the new props API
Original commit message from CVS:
Changed to the new props API
Other small tuff.
2002-03-30 17:06:26 +00:00
Andy Wingo
29aa39e99c filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS:
* filter newlines out of GST_DEBUG statements to reflect new core behavior
* fixes to adder's caps, again
2002-03-24 22:07:03 +00:00
Andy Wingo
d8e18eb071 s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:03 +00:00
Andy Wingo
d6258153e0 removal of //-style comments don't link plugins to core libs -- the versioning is done internally to the plugins with...
Original commit message from CVS:
* removal of //-style comments
* don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct,
and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-03-19 04:10:05 +00:00
Andy Wingo
0f1d754932 s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/ @-substitued variables variables are defined as make variables automagi...
Original commit message from CVS:
s/@GST_PLUGIN_LDFLAGS@/$(GST_PLUGIN_LDFLAGS)/

@-substitued variables variables are defined as make variables automagically,
and this gives the user the freedom to say make GST_PLUGIN_LDFLAGS=-myflag
2002-03-19 01:39:42 +00:00
Wim Taymans
fef1a9307e Make sure we use proper properties to define the different AVI types.
Original commit message from CVS:
Make sure we use proper properties to define the different AVI types.
2002-03-06 22:49:01 +00:00
Ronald S. Bultje
9a7e2b133b Bugfix - it now actually works (I think)
Original commit message from CVS:
Bugfix - it now actually works (I think)
2002-03-06 16:17:14 +00:00
Andy Wingo
42145d6e8f paramspec type fix, make the source pads GST_PAD_SOMETIMES
Original commit message from CVS:
paramspec type fix, make the source pads GST_PAD_SOMETIMES
2002-03-06 13:38:16 +00:00
Andy Wingo
f4c0650d63 update to the g_object_notify() way of sending the app information this is untested, but should work
Original commit message from CVS:
update to the g_object_notify() way of sending the app information

this is untested, but should work
2002-03-04 22:15:29 +00:00
Ronald S. Bultje
a6b37b8444 Get rid of a warning
Original commit message from CVS:
Get rid of a warning
2002-02-23 14:05:13 +00:00
Ronald S. Bultje
7813a24e3f Small updates to avimux and the v4l plugins for usability in general
Original commit message from CVS:
Small updates to avimux and the v4l plugins for usability in general
2002-02-20 07:25:39 +00:00
Ronald S. Bultje
7254ecbd02 It should now basically work - fps calculations are still on the TODO list
Original commit message from CVS:
It should now basically work - fps calculations are still on the TODO list
2002-02-04 19:44:08 +00:00
Ronald S. Bultje
ba02074906 Small fixes
Original commit message from CVS:
Small fixes
2002-02-04 19:41:50 +00:00
Wim Taymans
98ffdface2 Assorted fixes.
Original commit message from CVS:
Assorted fixes.
Use the new clocking stuff.
2002-02-03 20:10:04 +00:00
Ronald S. Bultje
5aeb0b399f We dont need these anymore, avidemux handles it all internally
Original commit message from CVS:
We dont need these anymore, avidemux handles it all internally
2002-02-03 16:09:07 +00:00
Ronald S. Bultje
bbe54084b8 We dont need avidecoder and avitypes anymore
Original commit message from CVS:
We dont need avidecoder and avitypes anymore
2002-02-03 16:07:53 +00:00
Ronald S. Bultje
41d83ad803 Some small adjustments for for better open-a-new-file handling
Original commit message from CVS:
Some small adjustments for for better open-a-new-file handling
2002-02-03 15:47:02 +00:00
Ronald S. Bultje
63c5bedc40 Fixes AVI playback - doh
Original commit message from CVS:
Fixes AVI playback - doh
2002-02-03 13:47:16 +00:00
Ronald S. Bultje
e8ace28405 WARNING: avimux is still broken, but less broken than it used to be... Code is under heavy development and will work ...
Original commit message from CVS:
WARNING: avimux is still broken, but less broken than it used to be... Code is under heavy development and will work sooner or later... Uploaded for generic development and testing purposes, not intended for generic use whatsoever
2002-02-02 16:27:20 +00:00
Ronald S. Bultje
1c7a0058d6 Various fixes
Original commit message from CVS:
Various fixes
2002-01-31 22:22:42 +00:00
Wim Taymans
ee06d65064 Set the typefind plugin to READY so that it can do capsnego.
Original commit message from CVS:
Set the typefind plugin to READY so that it can do capsnego.
2002-01-20 11:56:07 +00:00
Wim Taymans
8e098a3c6b Removed unused properties
Original commit message from CVS:
Removed unused properties
2002-01-19 17:56:44 +00:00
Wim Taymans
012d30270f Don't push empty buffers
Original commit message from CVS:
Don't push empty buffers
2002-01-19 17:54:31 +00:00
Wim Taymans
bb3e687dcb Ignore junk after the stream
Original commit message from CVS:
Ignore junk after the stream
2002-01-19 17:48:45 +00:00
Christian Schaller
fb03befba9 Ok a new batch of // to /* */ fixes commited
Original commit message from CVS:
Ok a new batch of //  to /* */ fixes commited
2002-01-19 14:57:47 +00:00
Wrobell
6c039d3297 - plugins are built without versioning info
Original commit message from CVS:
- plugins are built without versioning info
2002-01-18 11:37:19 +00:00
Wim Taymans
8de03894ef Added support for the VCD RIFF/CDXA format.
Original commit message from CVS:
Added support for the VCD RIFF/CDXA format.
2002-01-17 19:55:20 +00:00
Wim Taymans
d5217cf68c Make the video/avi caps for RIFF/AVI a bit more specific.
Original commit message from CVS:
Make the video/avi caps for RIFF/AVI a bit more specific.
2002-01-16 18:31:15 +00:00
Wim Taymans
126c7c995c Somewhat handle events too.
Original commit message from CVS:
Somewhat handle events too.
2002-01-15 22:49:11 +00:00
Wim Taymans
c23749df76 Fixed a serious parsing bug in avidemux
Original commit message from CVS:
Fixed a serious parsing bug in avidemux
2002-01-15 22:43:00 +00:00
Wim Taymans
97454065ce Bring the plugins in sync with the new core capsnego system.
Original commit message from CVS:
Bring the plugins in sync with the new core capsnego system.
Added some features, enhancements...
2002-01-13 22:27:25 +00:00
David I. Lehn
c656b5eab6 s/filter/plugin/ link plugins to GST_LIBS rearrange rules to a common format
Original commit message from CVS:
* s/filter/plugin/
* link plugins to GST_LIBS
* rearrange rules to a common format
2002-01-12 03:34:26 +00:00
Wim Taymans
0f1b49a387 Fixed some plugins
Original commit message from CVS:
Fixed some plugins
2001-12-28 20:24:41 +00:00
Wim Taymans
5b3c1cf7a5 Insert a yield operation.
Original commit message from CVS:
Insert a yield operation.
2001-12-24 01:52:33 +00:00
Wim Taymans
86d20fdbb1 Keep different counters for audio and video.
Original commit message from CVS:
Keep different counters for audio and video.
2001-12-23 23:26:50 +00:00
Wim Taymans
d1574e1da4 First attempt at fixing avidemux
Original commit message from CVS:
First attempt at fixing avidemux
2001-12-23 22:14:25 +00:00
Thomas Vander Stichele
65b5fc170c made changes everywhere to accomodate for the headers being in <gst/(lib)/...> we'll need to conclude this fast becau...
Original commit message from CVS:
made changes everywhere to accomodate for the headers being in
<gst/(lib)/...>
we'll need to conclude this fast because we will also need to change stuff in core real soon for the libs in order to fix everything
and I can't do it right now because I disabled all of the plugins here ;)
2001-12-23 12:18:17 +00:00
Andy Wingo
3d4da9a8df on dasher, on dancer, on donner, on fixen!
Original commit message from CVS:
on dasher, on dancer, on donner, on fixen!
2001-12-23 03:25:55 +00:00
Andy Wingo
61a50361fb Initial revision
Original commit message from CVS:
Initial revision
2001-12-22 23:22:30 +00:00