Commit graph

52 commits

Author SHA1 Message Date
Benjamin Otte
b92468d7a4 use element time.
Original commit message from CVS:
2004-01-14  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/aalib/gstaasink.c: (gst_aasink_chain):
* ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
* ext/esd/esdsink.c: (gst_esdsink_chain):
* ext/libcaca/gstcacasink.c: (gst_cacasink_chain):
* ext/mas/massink.c: (gst_massink_chain):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_chain):
* gst/matroska/matroska-demux.c: (gst_matroska_demux_parse_index),
(gst_matroska_demux_parse_metadata):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop),
(gst_mpeg_parse_release_locks):
* gst/tcp/gsttcpsink.c: (gst_tcpsink_chain):
* gst/udp/gstudpsink.c: (gst_udpsink_chain):
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
* sys/oss/gstosssink.c: (gst_osssink_init), (gst_osssink_chain),
(gst_osssink_change_state):
* sys/v4l/gstv4lmjpegsink.c: (gst_v4lmjpegsink_chain):
* sys/ximage/ximagesink.c: (gst_ximagesink_chain):
* sys/xvideo/xvideosink.c: (gst_xvideosink_chain),
(gst_xvideosink_release_locks):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain):
use element time.
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_start),
(gst_alsa_clock_stop):
* gst-libs/gst/audio/audioclock.c: (gst_audio_clock_set_active),
(gst_audio_clock_get_internal_time):
simplify for use with new clocking code.
* testsuite/alsa/Makefile.am:
* testsuite/alsa/sinesrc.c: (sinesrc_init), (sinesrc_force_caps):
fix testsuite for new caps system
2004-01-14 00:53:52 +00:00
Ronald S. Bultje
7334e3b7d8 gst/mpegstream/gstmpegparse.c: When we have received a new SCR right in the first buffer after we should handle the b...
Original commit message from CVS:
2004-01-06  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_loop):
When we have received a new SCR right in the first buffer after
a seek (so in the same cycle that handles the discont), we should
handle the buffer instead of unreffing it, else we lose data.
2004-01-06 12:31:31 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Wim Taymans
19329fad4a remove send_event
Original commit message from CVS:
remove send_event
2002-02-06 23:00:15 +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
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