GStreamer multimedia framework
Find a file
Wim Taymans 1e40e471d9 check/generic/states.c: Make sure all tasks are stopped.
Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
Make sure all tasks are stopped.

* check/gst/gstbin.c: (GST_START_TEST):
Unref after usage for proper valgrinding.

* gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
Really wait for the task to stop before destroying the
mutex.

* gst/gstqueue.c: (gst_queue_sink_activate_push),
(gst_queue_src_activate_push):
Small cleanups. Don't stop the task when we did not start
it.

* gst/gsttask.c: (gst_task_get_type), (gst_task_init),
(gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
(gst_task_get_state), (gst_task_start), (gst_task_pause),
(gst_task_join):
* gst/gsttask.h:
Protect the stream lock with the object lock.
Disallow setting the stream lock when running.
Add cleanup_all to wait for the threadpool to finish.
Remove code to autoallocate a mutex if none was provided.
Add _join() to wait for a task to stop.
Protect the thread pool with a global lock.
2005-08-24 20:49:53 +00:00
check check/generic/states.c: Make sure all tasks are stopped. 2005-08-24 20:49:53 +00:00
common@aa2a757c58 check/Makefile.am: clean up environment for when registry gets built versus when actual tests are run; valgrind seems... 2005-08-21 15:01:18 +00:00
components don't mix tabs and spaces 2004-03-15 19:27:17 +00:00
docs docs/pwg/advanced-types.xml: Well done to Michael for catching my deliberate introduction of this spelling mistake. 2005-08-24 15:10:41 +00:00
examples added controller code removed dparam pc files 2005-08-02 21:35:34 +00:00
gst check/generic/states.c: Make sure all tasks are stopped. 2005-08-24 20:49:53 +00:00
include configure.ac: remove all mmx stuff, because it's not used. 2004-12-14 06:20:10 +00:00
libs gst/base/gstbasesink.*: Handle newsegment events correctly. 2005-08-24 17:57:36 +00:00
pkgconfig add pluginsdir to pkgconfig files 2005-08-24 16:46:10 +00:00
plugins check/generic/states.c: Make sure all tasks are stopped. 2005-08-24 20:49:53 +00:00
po added long/short desc for controller docs added collectpads base class docs added correct includes to base-class docs 2005-08-05 12:59:46 +00:00
scripts check out cvs code, autogen, make, make distcheck if you have spare machines at work sitting idly during the night, r... 2001-12-14 09:44:11 +00:00
tests check/generic/states.c: Make sure all tasks are stopped. 2005-08-24 20:49:53 +00:00
testsuite added controller code removed dparam pc files 2005-08-02 21:35:34 +00:00
tools Fixed long standing mem-leak 2005-08-24 13:04:31 +00:00
win32 remove spider from dist 2005-08-13 11:45:50 +00:00
.gitignore ignore more; fix README 2005-06-17 08:59:41 +00:00
.gitmodules Added a first stab at a better clocking system. 2002-02-03 20:07:09 +00:00
AUTHORS put the same mail for Zaheer Merali everywhere 2004-12-11 13:42:02 +00:00
autogen.sh ignore already applied patch 2005-04-10 18:19:18 +00:00
ChangeLog check/generic/states.c: Make sure all tasks are stopped. 2005-08-24 20:49:53 +00:00
CHANGES-0.9 Some docs updates 2005-07-27 18:33:03 +00:00
configure.ac move check stuff to its own library to be used by other modules 2005-08-20 12:14:28 +00:00
COPYING COPYING: replace by LGPL (former COPYING.LIB). The core is completely licensed LGPL. 2004-03-29 13:32:32 +00:00
DEVEL more registry fixes 2002-04-12 18:50:48 +00:00
DOCBUILDING fix really old / no more relevant info on devhelp support/integration 2004-09-27 19:59:08 +00:00
gst-element-check.m4 Only check for gst-inspect if we haven't already found it in previous element check runs 2005-01-25 14:03:12 +00:00
gst-element-check.m4.in Only check for gst-inspect if we haven't already found it in previous element check runs 2005-01-25 14:03:12 +00:00
gstreamer.spec.in fix up spec for latest CVS changes 2005-08-08 16:01:12 +00:00
idiottest.mak idiottest was failing because of change of PLUGIN_USE_SRCDIR to 2001-06-19 12:53:05 +00:00
INSTALL initial checkin 2000-01-30 09:03:00 +00:00
LICENSE Adding explicit license information, since quite a large number of source files don't have the LGPL header. This is ... 2000-08-05 03:53:00 +00:00
MAINTAINERS adding more people to maintainers doc and minor cosmetic change to REQUIREMENTS doc 2004-12-17 14:10:59 +00:00
Makefile.am better report genration target (lcov needs a patch) 2005-07-05 12:17:24 +00:00
NEWS back to head 2005-06-18 22:33:14 +00:00
README incorporate plugins stuff and uninstalled stuff 2005-06-17 09:58:38 +00:00
RELEASE back to head 2005-06-18 22:33:14 +00:00
REQUIREMENTS adding more people to maintainers doc and minor cosmetic change to REQUIREMENTS doc 2004-12-17 14:10:59 +00:00
stamp.h.in initial checkin 2000-01-30 09:03:00 +00:00
TODO have a real TODO, move old TODO 2005-06-09 12:03:04 +00:00

WHAT IT IS
----------
This is GStreamer, a framework for streaming media.

This package is in the 0.9.x series.  This means that this is a
development series leading up to a stable 0.10.x series.
You have been warned.

OVERVIEW
--------
GStreamer is split up over a number of modules, tarballs and packages:

- gstreamer:
  The core.  It contains the main library and header files, as well as
  some fundamental elements.  Every GStreamer project needs at least this
  installed.
- gst-plugins-base:
  A base set of plugins.  This set is the set we actively keep synchronized
  with the core and are also meant to serve as examples on how to write
  GStreamer elements.  It also contains a number of base classes for writing
  GStreamer elements.

INSTALLING FROM PACKAGES
------------------------
You should always prefer installing from packages first.  GStreamer is
well-maintained for a number of distributions, including Fedora, Debian,
Ubuntu, Mandrake, Gentoo, ...

Only in cases where you:
- want to hack on GStreamer
- want to verify that a bug has been fixed
- do not have a sane distribution
should you choose to build from source tarballs or CVS.

Find more information about the various packages at
http://gstreamer.freedesktop.org/download/

COMPILING FROM SOURCE TARBALLS
------------------------------
- again, make sure that you really need to install from source !
  If GStreamer is one of your first projects ever that you build from source,
  consider taking on an easier project.

- check output of ./configure --help to see if any options apply to you
- run
  ./configure
  make

  to build GStreamer.
- if you want to install it (not required), run
  make install
- You should create a registry for things to work.
  If you ran make install in the previous step, run
  gst-register
  as root.

  If you didn't install, run
  tools/gst-register
  as a normal user.

- try out a simple test:
  gst-launch fakesrc num_buffers=5 ! fakesink
  (If you didn't install GStreamer, again prefix gst-launch with tools/)

  If it outputs a bunch of messages from fakesrc and fakesink, everything is
  ok.

- After this, you're ready to install gst-plugins, which will provide the
  functionality you're probably looking for by now, so go on and read
  that README.

COMPILING FROM CVS
------------------
When building from CVS sources, you will need to run autogen.sh to generate 
the build system files.

You will need a set of additional tools typical for building from CVS,
including:
- autoconf
- automake
- libtool

autogen.sh will check for recent enough versions and complain if you don't have
them.  You can also specify specific versions of automake and autoconf with
--with-automake and --with-autoconf

Check autogen.sh options by running autogen.sh --help

autogen.sh can pass on arguments to configure - you just need to separate them
from autogen.sh with -- between the two.
prefix has been added to autogen.sh but will be passed on to configure because
some build scripts like that.

When you have done this once, you can use autoregen.sh to re-autogen with
the last passed options as a handy shortcut.  Use it.

After the autogen.sh stage, you can follow the directions listed in
"COMPILING FROM SOURCE"

You can also run your whole cvs stack uninstalled.  The script in
the gstreamer module /docs/faq/gst-uninstalled) is helpful in setting
up your environment for this.

PLUG-IN DEPENDENCIES AND LICENSES
---------------------------------
GStreamer is developed under the terms of the LGPL (see LICENSE file for
details). Some of our plug-ins however rely on libraries which are available
under other licenses. This means that if you are using an application which
has a non-GPL compatible license (for instance a closed-source application)
with GStreamer, you have to make sure not to use GPL-linked plug-ins.
When using GPL-linked plug-ins, GStreamer is for all practical reasons
under the GPL itself.

HISTORY
-------
The fundamental design comes from the video pipeline at Oregon Graduate
Institute, as well as some ideas from DirectMedia.  It's based on plug-ins that
will provide the various codec and other functionality.  The interface
hopefully is generic enough for various companies (ahem, Apple) to release
binary codecs for Linux, until such time as they get a clue and release the
source.