mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
3b930ebf09
Original commit message from CVS: * gst/subparse/gstsubparse.c: (gst_sub_parse_init), (gst_sub_parse_do_seek), (gst_sub_parse_src_event), (parse_subrip), (parser_state_init), (handle_buffer), (gst_sub_parse_chain), (gst_sub_parse_sink_event), (gst_sub_parse_change_state): Implement some sort of event handling that doesn't rely on g_return_if_fail; make sure we always push the last chunk of an .srt out when we receive an EOS; use gst_pad_alloc_buffer; fix state change function; remove some old cruft. Seeking is still rather unlikely to work though. * tools/.cvsignore: Ignore more. |
||
---|---|---|
.. | ||
.gitignore | ||
filterstamp.sh | ||
gst-launch-ext.1.in | ||
gst-visualise-m.m | ||
gst-visualise.1.in | ||
Makefile.am | ||
README.filterstamp |
filterstamp.sh is a script to copy a filter and change filenames and all occurrences of the old name to the new name. This is used for writing new audio filters. The best one to copy for now is passthrough; it works on raw/audio int or float data. If your new filter is called StereoPan, for example, then do this : cd gst ../tools/filterstamp.sh Passthrough StereoPan cd stereopan make (Please note the upper- and lower-case !) You should also add a line to configure.ac to make sure the Makefiles are built correctly. Just search for "passthrough" and add corresponding "stereopan" (or whatever your plugin is) lines. Register it, then try it out. It shouldn't do anything ! Now edit the filter.func in the new directory; this file contains the body of the main processing loop.