Commit graph

67 commits

Author SHA1 Message Date
Wim Taymans
c2f41a8906 Next big merge.
Original commit message from CVS:
Next big merge.
Added GstBus for mainloop integration.
Added GstMessage for sending notifications on the bus.
Added GstTask as an abstraction for pipeline entry points.
Removed GstThread.
Removed Schedulers.
Simplified GstQueue for multithreaded core.
Made _link threadsafe, removed old capsnego.
Added STREAM_LOCK and PREROLL_LOCK in GstPad.
Added pad blocking functions.
Reworked scheduling functions in GstPad to prepare for
scheduling updates soon.
Moved events out of data stream.
Simplified GstEvent types.
Added return values to push/pull.
Removed clocking from GstElement.
Added prototypes for state change function for next merge.
Removed iterate from bins and state change management.
Fixed some elements, disabled others for now.
Fixed -inspect and -launch.
Added check for GstBus.
2005-03-21 17:34:02 +00:00
Wim Taymans
007cff6d75 Doc updates.
Original commit message from CVS:
* docs/design/part-MT-refcounting.txt:
* docs/design/part-clocks.txt:
* docs/design/part-gstelement.txt:
* docs/design/part-gstobject.txt:
* docs/design/part-standards.txt:
* gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
(gst_bin_remove_func), (gst_bin_remove):
* gst/gstbin.h:
* gst/gstbuffer.c:
* gst/gstcaps.h:
* testsuite/clock/clock1.c: (main):
* testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
(main):
* testsuite/dlopen/loadgst.c: (do_test):
* testsuite/refcounting/bin.c: (add_remove_test1),
(add_remove_test2), (main):
* testsuite/refcounting/element.c: (main):
* testsuite/refcounting/element_pad.c: (main):
* testsuite/refcounting/pad.c: (main):
* tools/gst-launch.c: (sigint_handler_sighandler):
* tools/gst-typefind.c: (main):
Doc updates.
Added doc about clock.
removed gst_bin_iterate_recurse_up(), marked methods
for removal.
Fix more testsuites.
2005-03-10 12:51:45 +00:00
Wim Taymans
c47dc4d853 First THREADED backport attempt, focusing on adding locks and making sure the API is threadsafe. Needs more work. Mor...
Original commit message from CVS:
First THREADED backport attempt, focusing on adding locks and
making sure the API is threadsafe. Needs more work. More docs
follow this week.
2005-03-07 18:27:42 +00:00
David Schleef
d84d463b1d tools/gst-launch.c: Fix deadlocks in signal.h-type signal handlers by not calling forbidden functions, including gst_...
Original commit message from CVS:
* tools/gst-launch.c: (idle_func), (fault_handler_sighandler),
(fault_handler_sigaction), (fault_spin),
(sigint_handler_sighandler), (play_handler), (main): Fix deadlocks
in signal.h-type signal handlers by not calling forbidden functions,
including gst_element_set_state().
2005-01-06 03:31:17 +00:00
Benjamin Otte
3d53a08118 gst/elements/gstfilesrc.c: work with non-regular files that can be mmapped (like /dev/zero)
Original commit message from CVS:
* gst/elements/gstfilesrc.c: (gst_filesrc_get_mmap):
work with non-regular files that can be mmapped (like /dev/zero)
* gst/elements/gsttypefindelement.c: (gst_type_find_element_chain):
get rid of typefinds that require a seek when we can't seek instead
of trying them over and over again
* tools/gst-launch.c: (idle_func), (error_cb), (main):
return non-zero failure value when the pipeline was interrupted or
an error occurred
2004-08-12 09:12:13 +00:00
Benjamin Otte
f1472b4ed2 gst/schedulers/entryscheduler.c: fix for GST_DISABLE_DEBUG
Original commit message from CVS:
* gst/schedulers/entryscheduler.c:
(gst_entry_scheduler_remove_element):
fix for GST_DISABLE_DEBUG
* tools/gst-launch.c: (print_tag):
fixes for G_DISABLE_ASSERT
2004-08-03 14:29:31 +00:00
David Schleef
23d19ce876 docs/random/ds/0.9-suggested-changes: more comments
Original commit message from CVS:
* docs/random/ds/0.9-suggested-changes: more comments
* tools/gst-launch.c: (idle_func): Fix hard-to-translate string.
2004-07-22 23:29:30 +00:00
David Schleef
ca7539c40e Changes to handle compilers that don't have variadic macro support. In particular, glib headers define some inlines ...
Original commit message from CVS:
Changes to handle compilers that don't have variadic macro
support.  In particular, glib headers define some inlines
that need G_LOG_DOMAIN defined.  Additional fixes for MSVC
builds.
* gst/Makefile.am:
* gst/cothreads.c:
* gst/elements/gstfdsink.c:
* gst/elements/gstfdsrc.c:
* gst/elements/gstfilesink.c:
* gst/elements/gstfilesrc.c:
* gst/gst_private.h:
* gst/gstatomic.c:
* gst/gstcaps.c: (gst_caps_append):
* gst/gstcpu.c: (gst_cpuid_i386):
* gst/gstelement.c:
* gst/gsterror.c:
* gst/gstfilter.c:
* gst/gstinfo.h:
* gst/gstprobe.c:
* gst/gstquery.c:
* gst/gstregistry.c:
* gst/gststructure.c:
* gst/gsttaginterface.c:
* gst/gsttrace.c: (gst_trace_new):
* gst/gsttrashstack.c:
* gst/gsturi.c:
* gst/gstvalue.c:
* gst/parse/grammar.y:
* gst/parse/parse.l:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-xmlinspect.c: (PUT_STRING):
2004-05-07 02:36:28 +00:00
Thomas Vander Stichele
7baa6c18e7 don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:27:17 +00:00
Thomas Vander Stichele
a967370df5 gst-indent run on core
Original commit message from CVS:
gst-indent run on core
2004-03-13 15:27:01 +00:00
Christophe Fergeau
4a20ac4ee6 tools/: add calls to bind_textdomain_codeset
Original commit message from CVS:
2004-03-02  Christophe Fergeau  <teuf@gnome.org>

* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main): add calls to bind_textdomain_codeset
2004-03-02 21:41:02 +00:00
Thomas Vander Stichele
b5186020ab add error symbol start translating gst-inspect
Original commit message from CVS:
add error symbol
start translating gst-inspect
2004-02-03 11:23:59 +00:00
Thomas Vander Stichele
68f5c775c5 fix output of typefind add GPL headers fix doc snippet
Original commit message from CVS:
fix output of typefind
add GPL headers
fix doc snippet
2004-01-20 14:09:42 +00:00
Thomas Vander Stichele
8e96cb73f6 translating parsing error messages
Original commit message from CVS:
translating parsing error messages
2004-01-13 14:23:44 +00:00
Thomas Vander Stichele
7e56c5435f update nl transition add gst-launch to be translated
Original commit message from CVS:
update nl transition
add gst-launch to be translated
2004-01-13 13:44:10 +00:00
Benjamin Otte
0ee999abcf don't use strdup_value_contents for strings
Original commit message from CVS:
don't use strdup_value_contents for strings
2003-11-24 22:10:06 +00:00
Benjamin Otte
385b9ee5c4 merge in tagging
Original commit message from CVS:
merge in tagging
Includes:
- gsttag.[ch] - The definition of GstTagList and tag registering/querying
- gsttaginterface.[ch] - Interface for elements that can handle setting of tags
- updates and merges to gststructure.[ch] and gstvalue.[ch]
- testsuite/tags - some tests for tagging
- bugfixes
- updates to make make distcheck work
- updates the version number to 0.7.2.1

Does not include:
- including tagging stuff in docs
- extensive tests
2003-11-24 02:09:23 +00:00
David Schleef
13916dae8f further i18n: call setlocale()
Original commit message from CVS:
further i18n: call setlocale()
2003-08-19 08:11:58 +00:00
Ronald S. Bultje
b5f3c4eaf9 Add SIGUSR1/SIGUSR2 as play/stop signals. Also add these to the documentation. Fixes #120065
Original commit message from CVS:
Add SIGUSR1/SIGUSR2 as play/stop signals. Also add these to the documentation. Fixes #120065
2003-08-19 05:43:55 +00:00
David Schleef
c61bcbef1f Add number-of-iterations option.
Original commit message from CVS:
Add number-of-iterations option.
2003-07-14 08:25:16 +00:00
David Schleef
2ebb88a354 Add SIGINT handling. ctrl-C is more graceful now
Original commit message from CVS:
Add SIGINT handling.  ctrl-C is more graceful now
2003-07-01 03:45:19 +00:00
Benjamin Otte
803ce6bf48 GST_DEBUG reorganization containing loads of stuff:
Original commit message from CVS:
GST_DEBUG reorganization
This is a big diff (ca 450k), containing loads of stuff:
- gstinfo.[ch] complete rewrite
- changing of all GST_DEBUG messages to reflect that change
- reorganization of subsystem disabling
- addition of gstconfig.h.in so we can track the disablings
- <gst/gst.h> does not include <unistd.h> and <config.h> anymore
- documentation updated for gstinfo stuff (build the docs yourself to know what changed)
- bugfixes for making of the docs (files from CVS are not deleted anymore
- testsuite for debugging changes in testsuite/debug

expect breakage
2003-06-29 14:05:49 +00:00
Benjamin Otte
7c9480e220 parsing returns elements, not bins - so put it into a pipeline if it's not a bin
Original commit message from CVS:
parsing returns elements, not bins - so put it into a pipeline if it's not a bin
2003-04-28 17:01:44 +00:00
David Schleef
3639eab50e Fall back on sa_handler if sa_sigaction doesn't work
Original commit message from CVS:
Fall back on sa_handler if sa_sigaction doesn't work
2003-04-13 21:11:12 +00:00
Benjamin Otte
087aebf604 patch to gst-launch - a pipeline parsing can result in an error even though a pipeline is returned
Original commit message from CVS:
patch to gst-launch - a pipeline parsing can result in an error even though a pipeline is returned
2003-04-10 01:40:03 +00:00
Benjamin Otte
c56b13bd2b work around popt bug
Original commit message from CVS:
work around popt bug
2003-04-04 20:33:05 +00:00
Wim Taymans
b030b5cef2 - Add more --disable options
Original commit message from CVS:
- Add more --disable options
- fix makefiles to only compile non-disabled features
- some compile fixes.
- removed extratypes, added gsturitype
- make get/set clock on a bin overridable
- some portability fixes for GUINT64
- separate pools from gstregistry.[ch] into gstregistrypool.[ch]
- make gstobject size fixed, even if we disabled load/save
- don't use 'new' as a variable as it is not a valib C++ variable
2003-02-10 20:32:32 +00:00
Wim Taymans
bc3553a799 Backport verbose option from 0.6.0
Original commit message from CVS:
Backport verbose option from 0.6.0
2003-02-03 20:30:59 +00:00
Wim Taymans
d7f8bbea1b - Add popt option to enable new tracing
Original commit message from CVS:
- Add popt option to enable new tracing
2003-02-02 19:22:31 +00:00
David Schleef
393033c6fa Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT. Fix pointer<->int conversion. Fixes warnings on alpha.
Original commit message from CVS:
Convert %lld and %llu in printf formats to G_G[U]INT64_FORMAT.  Fix
pointer<->int conversion.  Fixes warnings on alpha.
2003-02-01 20:29:27 +00:00
Wim Taymans
aaef425d99 Small fixes, improved query inspect
Original commit message from CVS:
Small fixes, improved query inspect
2003-01-07 20:49:46 +00:00
Wim Taymans
fbe8f4f657 Add flag to disable fault_setup()
Original commit message from CVS:
Add flag to disable fault_setup()
2002-12-30 18:29:16 +00:00
Wim Taymans
54ad9d5e6b Small cleanups
Original commit message from CVS:
Small cleanups
2002-12-19 20:59:48 +00:00
Wim Taymans
f7d73c91b2 ASYNC state changes are not an error.
Original commit message from CVS:
ASYNC state changes are not an error.
2002-12-08 20:08:39 +00:00
Wim Taymans
647618947f Print buffer stats even after failed state change.
Original commit message from CVS:
Print buffer stats even after failed state change.
2002-11-20 21:29:29 +00:00
David Schleef
96b9f9d5d1 Add automatic stack dumping on SIGSEGV and SIGQUIT
Original commit message from CVS:
Add automatic stack dumping on SIGSEGV and SIGQUIT
2002-11-14 02:49:16 +00:00
Wim Taymans
ebda7d920a Fix silly free twice bug
Original commit message from CVS:
Fix silly free twice bug
2002-09-24 18:41:16 +00:00
Thomas Vander Stichele
f12f450410 backports and fixes
Original commit message from CVS:
backports and fixes
2002-09-23 06:02:17 +00:00
Wim Taymans
d9e80e999a - Refactor the caps print function in -inspect
Original commit message from CVS:
- Refactor the caps print function in -inspect
- fix a leak in -launch
2002-09-17 21:32:26 +00:00
Wim Taymans
7fc83d1433 Fix the min value for the stats
Original commit message from CVS:
Fix the min value for the stats
2002-09-12 20:11:12 +00:00
Wim Taymans
7fc1800892 -inspect fixes for formats
Original commit message from CVS:
-inspect fixes for formats
-launch uses the default error/deep_notify handlers
2002-07-30 19:25:24 +00:00
Wim Taymans
abc329c725 - Make inspect show the event masks, formats and qupported query types.
Original commit message from CVS:
- Make inspect show the event masks, formats and qupported query types.
- convert enum values to something readable in -launch
2002-07-24 21:13:30 +00:00
Wim Taymans
550446c738 Also print event stats on exit.
Original commit message from CVS:
Also print event stats on exit.
2002-07-08 19:23:59 +00:00
Wim Taymans
d7ddba92e9 We are nano seconds now..
Original commit message from CVS:
We are nano seconds now..
2002-06-03 20:59:02 +00:00
Steve Baker
d4e56cc925 this wasn't actually needed
Original commit message from CVS:
this wasn't actually needed
2002-05-29 15:30:10 +00:00
Steve Baker
608589ef0d this seems to be needed when doing a pipeline like -launch { foo ! bar }
Original commit message from CVS:
this seems to be needed when doing a pipeline like -launch { foo ! bar }

Now you can run:
gst-launch --gst-mask=-1 { fakesrc ! fakesink }
to see what seems to be a double locking problem
2002-05-28 14:42:22 +00:00
Wim Taymans
086de421dc Totally rewritten registry handling.
Original commit message from CVS:
Totally rewritten registry handling.
- move the registry save/load code into a gstregistry subclass, this
will make it possible to use other registries (flat file, web based,
RDBMS type, etc..)
- a simple GMarkup xml registry is implemented
- use standard statically linked plugins for core elements.
- GstPlugin has a very well defined set of functions now
A little bytestream hack..
Added more info to -inspect.
Some more debugging info for clocking.
Small cleanups

I use ./gst-register --gst-plugin-path=/opt/src/sourceforge/gst-plugins/gst-libs:/opt/src/sourceforge/gst-plugins/
to register core and gst-plugins now.
2002-05-08 20:40:48 +00:00
Benjamin Otte
8e5c223871 fix bug with --gst-fatal-warnings when exclude_args is NULL
Original commit message from CVS:
fix bug with --gst-fatal-warnings when exclude_args is NULL
2002-04-17 00:18:04 +00:00
Benjamin Otte
5f8324949f yay, a new option to play with! added -X / --exclude to exclude output of specific properties. Currently only --exclu...
Original commit message from CVS:
yay, a new option to play with!
added -X / --exclude to exclude output of specific properties. Currently only --exclude will work because we're not on popt 1.6.3 yet (blame it on Debian).
removed the harcoded excluding of the 'offset' property. You need to specify --exclude=offset now if you want your old output back
2002-04-16 14:45:53 +00:00
Andy Wingo
70cfc6cb4d new parser that uses flex and bison
Original commit message from CVS:
* new parser that uses flex and bison
- doesn't do dynamic pipelines yet...
* added GErrors to the gst_parse_launch[v] api
* added --gst-mask-help command line option
* fixed -o option for gst-launch
* GstElement api change:
- gst_element_get_pad
- gst_element_get_request_pad, gst_element_get_static_pad
- gst_element_get_compatible_pad
- gst_element_get_compatible_static_pad, gst_element_get_compatible_request_pad
- gst_element_[dis]connect -> gst_element_[dis]connect_pads
- gst_element_[dis]connect_elements -> gst_element_[dis]connect
* manual update
* example, tool, and doc updates for the api changes
- no more plugin docs in the core docs, plugins require a more
extensive doc system
2002-04-07 23:32:16 +00:00