Commit graph

141 commits

Author SHA1 Message Date
Ronald S. Bultje
9717e2b847 gst/mpegstream/: Fix more integer overflows. Again, see #126967.
Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Fix more integer overflows. Again, see #126967.
2004-01-03 23:07:19 +00:00
Ronald S. Bultje
cc5aa11ece gst/mpegstream/: and also fix integer overflows at high PTS values (see #126967).
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init),
(gst_mpeg_parse_init):
* gst/mpegstream/gstmpegparse.h:
Remove clock (which was never provided, i.e. dead code), and
also fix integer overflows at high PTS values (see #126967).
2004-01-03 13:06:10 +00:00
David Schleef
df0b7b7ae1 ext/alsa/gstalsasrc.c: Remove bogus "src" request pad.
Original commit message from CVS:
* ext/alsa/gstalsasrc.c: (gst_alsa_src_pad_factory),
(gst_alsa_src_base_init): Remove bogus "src" request pad.
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_base_init),
(gst_mpeg_parse_class_init): Move pad template registration
to class_init, since the derived class (mpegdemux) doesn't
want them.
2004-01-03 01:27:31 +00:00
David Schleef
763b096ef2 Convert elements to use gst_pad_use_explicit_caps() where appropriate.
Original commit message from CVS:
Convert elements to use gst_pad_use_explicit_caps() where appropriate.
2004-01-02 07:09:23 +00:00
David Schleef
200089a2ba Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:08 +00:00
Ronald S. Bultje
ead7233a5e configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Al...
Original commit message from CVS:
2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Improve mpeg2enc detection. This is for distributions that do
ship mjpegtools, but without mpeg2enc. Also does object check
for might there ever be ABI incompatibility.
* ext/mpeg2enc/gstmpeg2enc.cc:
Add Andrew as second maintainer (he's helping me), and also add
an error if no caps was set. This happens if I pull before capsnego
and that's something I should solve sometime else.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix time parsing.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link),
(gst_matroska_mux_track_header):
Add caps to templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory):
Add mpegversion=1 to prevent confusion with MPEG/AAC.
* gst/mpegstream/gstmpegdemux.c:
Remove layer since it causes warnings about unfixed caps.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Fix obvious typo (we error out if caps were set, we should of
course error out if *no* caps were set).
* sys/oss/gstosselement.c: (gst_osselement_convert):
Fix format conversion, we confused bits/bytes.
* sys/oss/gstosselement.h:
Improve documentation for 'bps'.
* sys/v4l/TODO:
Remove stuff about plugins that need removing - this was done
ages ago.
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init),
(gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert),
(gst_v4lsrc_src_query):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_src_convert), (gst_v4l2src_src_query):
Add get_query_types(), get_formats() and query() functions.
2003-12-21 18:44:33 +00:00
Ronald S. Bultje
0dd9705d85 Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding...
Original commit message from CVS:
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding. This should fix mp3 playback.
2003-12-18 09:31:50 +00:00
Andy Wingo
dbf9d697eb remove copyright field from plugins
Original commit message from CVS:
remove copyright field from plugins
2003-12-04 10:37:35 +00:00
Ronald S. Bultje
2081f9ad65 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:46:51 +00:00
David Schleef
6ba330fbec add config.h
Original commit message from CVS:
add config.h
2003-11-06 22:16:19 +00:00
Ronald S. Bultje
d71c0d2065 MPEG system streams work too, now
Original commit message from CVS:
MPEG system streams work too, now
2003-11-02 21:22:09 +00:00
David Schleef
ec3c196db4 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
97bf62c74f 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
Andy Wingo
6300f2611c /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:10 +00:00
Ronald S. Bultje
0ea59b7a7b 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:51 +00:00
Thomas Vander Stichele
e78672327e reverting error patch before making a branch.
Original commit message from CVS:
reverting error patch before making a branch.
2003-09-16 10:00:00 +00:00
Benjamin Otte
fde31ee83f 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
David Schleef
f402dffda4 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
Ronald S. Bultje
0ba3f63b39 I'm too lazy to comment this
Original commit message from CVS:
Fix mpeg version identification bug. The field is 2 bits, not 4, which causes mpegs to sometimes be identified as mpeg1 while it was mpeg2. See #119372. Fix by <meiker@upb.de>
2003-08-13 21:15:03 +00:00
David Schleef
141645bc32 Remove redundant plugindir definition
Original commit message from CVS:
Remove redundant plugindir definition
2003-08-10 00:01:58 +00:00
Jan Schmidt
9ce42abf61 Make sure caps are fixed when creating a new video pad
Original commit message from CVS:
Make sure caps are fixed when creating a new video pad
2003-07-28 14:56:01 +00:00
Jan Schmidt
e4da6de082 Merged the 2 video_%02d pad templates, since no plugin should have 2 pad templates with the same name.
Original commit message from CVS:
Merged the 2 video_%02d pad templates, since no plugin should have 2 pad
templates with the same name.

Added caps for the subtitle pad as a quickfix to stop it calling
try_set_caps with NULL caps
2003-07-28 13:24:16 +00:00
Ronald S. Bultje
cbaec5cb87 Mplex apparently creates a private stream with padding 0x00 bytes... This normally triggers gst_pad_try_set_caps(), a...
Original commit message from CVS:
Mplex apparently creates a private stream with padding 0x00 bytes... This normally triggers gst_pad_try_set_caps(), and since our template is NULL, the argument is NULL too, which is invalid... So here's a quickfix
2003-07-26 10:13:30 +00:00
Joshua N. Pritikin
6dc7c1b621 Provide valuable diagnostics for seek events control by the GST_SEEK debug category.
Original commit message from CVS:
Provide valuable diagnostics for seek events control by the GST_SEEK
debug category.
2003-07-25 02:04:01 +00:00
Ronald S. Bultje
ed2362149a 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:50 +00:00
Benjamin Otte
b4786e830b 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:09 +00:00
Wim Taymans
1ac9874937 - update OFFSET field
Original commit message from CVS:
- update OFFSET field
- flush unkown codes
- small cleanups
2003-05-24 10:17:50 +00:00
Benjamin Otte
ab5956a396 more range fixes
Original commit message from CVS:
more range fixes
2003-05-22 12:17:07 +00:00
Benjamin Otte
ce19421a31 case ranges is a gcc extension, removing them
Original commit message from CVS:
case ranges is a gcc extension, removing them
2003-05-22 10:41:49 +00:00
Brian Cameron
c642d08357 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:51 +00:00
Ronald S. Bultje
ab8278b082 I'm too lazy to comment this
Original commit message from CVS:
Lots of LPCM support work from Martin. This fixes the mimetype being set and interprets sound stream properties better so it's just iedntified as audio/raw. Thanks go to Martin Soto <soto@informatik.uni-kl.de> - see #106875 for more info
2003-05-14 21:54:41 +00:00
Wim Taymans
38a1831a3b - Slightly better error recovery
Original commit message from CVS:
- Slightly better error recovery
- correctly handle ISO11172 end code
2003-03-28 17:33:20 +00:00
Christian Schaller
f573818eb0 merge patch from bug 106875 created by Martin Soto
Original commit message from CVS:
merge patch from bug 106875 created by Martin Soto
2003-03-02 09:48:48 +00:00
Wim Taymans
b8ebf3c642 Fix refcounting on streaminfo caps.
Original commit message from CVS:
Fix refcounting on streaminfo caps.
2003-02-02 20:06:39 +00:00
Wim Taymans
479004ceec Fix refcounting on caps.
Original commit message from CVS:
Fix refcounting on caps.
2003-02-02 20:05:59 +00:00
David Schleef
b689cac7f8 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
Wim Taymans
3438f4f459 - Small cleanups
Original commit message from CVS:
- Small cleanups
- parse even the last few bytes of the stream
2003-01-19 13:42:43 +00:00
Thomas Vander Stichele
529c1bb0e3 apply patch from vishnu
Original commit message from CVS:
apply patch from vishnu
2003-01-17 16:21:35 +00:00
Thomas Vander Stichele
1669173743 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:24 +00:00
Wim Taymans
5e574f1894 Apply patch "valgrind is cool" 13384 from vishnu.
Original commit message from CVS:
Apply patch "valgrind is cool" 13384 from vishnu.
2003-01-06 19:13:49 +00:00
Wim Taymans
b36db2b3db Fix typos
Original commit message from CVS:
Fix typos
2002-12-31 14:53:04 +00:00
Wim Taymans
82350d8251 - Add streaminfo
Original commit message from CVS:
- Add streaminfo
- set caps on sinkpad too
- handle caps errors
2002-12-30 19:18:04 +00:00
Wim Taymans
b5bee92a53 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
Wim Taymans
4d831cc9b2 Lower latency state changes by unlocking the clock
Original commit message from CVS:
Lower latency state changes by unlocking the clock
2002-12-29 21:18:16 +00:00
Wim Taymans
206cd78b4c New clock sync
Original commit message from CVS:
New clock sync
2002-12-27 23:04:50 +00:00
Wim Taymans
0e18b6abbc prefer seeking on time
Original commit message from CVS:
prefer seeking on time
2002-12-27 22:43:28 +00:00
Wim Taymans
72f3cbcb7b Improved seeking and indexing
Original commit message from CVS:
Improved seeking and indexing
2002-12-26 22:45:10 +00:00
Wim Taymans
b9072f711a - Added seek on bytes
Original commit message from CVS:
- Added seek on bytes
- use index to lookup offsets
2002-12-23 00:35:24 +00:00
Wim Taymans
90936c1ebc cache->index
Original commit message from CVS:
cache->index
2002-12-12 22:17:10 +00:00
Iain Holmes
ac04104547 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:44 +00:00
Thomas Vander Stichele
f1f464b7b2 parallel install fixes
Original commit message from CVS:
parallel install fixes
2002-12-08 14:50:04 +00:00
Wim Taymans
a82c0aa533 Fix mpegdemux, implement caching
Original commit message from CVS:
Fix mpegdemux, implement caching
2002-11-27 21:00:12 +00:00
Wim Taymans
ebc290ac1d - cleanups
Original commit message from CVS:
- cleanups
- detect and correct SCR discontinuities, also correct PTSes
2002-11-04 23:16:45 +00:00
Wim Taymans
29471dd7c7 Write some more debugging entries in the log
Original commit message from CVS:
Write some more debugging entries in the log
2002-11-02 13:40:30 +00:00
Christian Schaller
64789849a6 plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:46 +00:00
Thomas Vander Stichele
5d94ef6f62 removing warnings (approved by wtay)
Original commit message from CVS:
removing warnings (approved by wtay)
2002-09-09 23:24:29 +00:00
Wim Taymans
4e9426038d - query/eventmask/formats functions
Original commit message from CVS:
- query/eventmask/formats functions
2002-07-24 21:43:44 +00:00
Wim Taymans
562ae61a61 - use _merge instead of _append
Original commit message from CVS:
- use _merge instead of _append
- unref events
2002-07-08 19:43:33 +00:00
Wim Taymans
492fe80f2b Disable sync
Original commit message from CVS:
Disable sync
2002-06-08 23:48:43 +00:00
Thomas Vander Stichele
c9b2547508 changed the comment, hope it is of use to someone sometime somehow
Original commit message from CVS:
changed the comment, hope it is of use to someone sometime somehow
2002-06-05 21:43:28 +00:00
Thomas Vander Stichele
54fb0d72f0 prettier output
Original commit message from CVS:
prettier output
2002-06-05 21:41:19 +00:00
Thomas Vander Stichele
590af8cc07 easy fix for mpegdemux being lost for Uraeus and me
Original commit message from CVS:
easy fix for mpegdemux being lost for Uraeus and me
2002-06-05 21:33:51 +00:00
Steve Baker
8d6dc6a67e 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
ccc2d53203 Disable SCR interpollation, it seems wrog add timestamps to private streams
Original commit message from CVS:
Disable SCR interpollation, it seems wrog
add timestamps to private streams
2002-05-27 22:38:23 +00:00
Wim Taymans
857fa1192d Fix property bug
Original commit message from CVS:
Fix property bug
2002-05-26 23:17:50 +00:00
Wim Taymans
b0c33553d3 - 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
ee40ec1e0a use new bytestream api
Original commit message from CVS:
use new bytestream api
2002-05-15 19:08:16 +00:00
Andy Wingo
06989d4c52 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
Thomas Vander Stichele
58896333c7 more mergeback from the latest release
Original commit message from CVS:
more mergeback from the latest release
2002-04-15 09:27:02 +00:00
Wim Taymans
78c3873c67 Rename the padtemplate name for private streams
Original commit message from CVS:
Rename the padtemplate name for private streams
2002-04-14 13:40:01 +00:00
Wim Taymans
8e81987438 Changed the padtemplate nametemplates to something parsable.
Original commit message from CVS:
Changed the padtemplate nametemplates to something parsable.
2002-04-13 17:38:40 +00:00
Andy Wingo
1f45cc0b2b 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
0e102b69f9 fixed first bunch of compiler warnings
Original commit message from CVS:
fixed first bunch of compiler warnings
2002-04-06 03:40:15 +00:00
Andy Wingo
4ebed89637 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
2ebabe996e s/Gnome-Streamer/GStreamer/
Original commit message from CVS:
s/Gnome-Streamer/GStreamer/
2002-03-20 21:45:03 +00:00
Andy Wingo
f6c63f0d8e 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
29ea57179f 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
19329fad4a remove send_event
Original commit message from CVS:
remove send_event
2002-02-06 23:00:15 +00:00
Wim Taymans
fd97b5a8a3 Assorted fixes.
Original commit message from CVS:
Assorted fixes.
Use the new clocking stuff.
2002-02-03 20:10:04 +00:00
Wim Taymans
76e4e1449c Destroy the bytestream object when we go to paused
Original commit message from CVS:
Destroy the bytestream object when we go to paused
2002-02-02 13:57:30 +00:00
Wrobell
60801db21a - plugins are built without versioning info
Original commit message from CVS:
- plugins are built without versioning info
2002-01-18 11:37:18 +00:00
Wim Taymans
8693a11ba2 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:24 +00:00
Wim Taymans
614da644e4 Added the beginnings of an RFC 2250 compliant packetizer.
Original commit message from CVS:
Added the beginnings of an RFC 2250 compliant packetizer.
2001-12-31 03:03:05 +00:00
Wim Taymans
3b17020e4a Call the default handler for events.
Original commit message from CVS:
Call the default handler for events.
2001-12-26 20:31:50 +00:00
Wim Taymans
7e121e45c0 Set pad caps
Original commit message from CVS:
Set pad caps
2001-12-26 20:14:07 +00:00
Thomas Vander Stichele
7a276837fa right lib header
Original commit message from CVS:
right lib header
2001-12-24 10:04:11 +00:00
Wim Taymans
7f4426d116 Added back the per channel PTS parsing.
Original commit message from CVS:
Added back the per channel PTS parsing.
2001-12-23 23:18:39 +00:00
Wim Taymans
2e3745fa62 Redid the lost changes.
Original commit message from CVS:
Redid the lost changes.
2001-12-23 22:37:07 +00:00
Thomas Vander Stichele
aa8fa44a3c imported new code
Original commit message from CVS:
imported new code
2001-12-23 20:52:21 +00:00
Thomas Vander Stichele
589ade4357 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:18 +00:00
Andy Wingo
f406b9f9c3 Initial revision
Original commit message from CVS:
Initial revision
2001-12-22 23:26:48 +00:00