mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
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
This commit is contained in:
parent
1c7f15e0cc
commit
68f5c775c5
4 changed files with 65 additions and 5 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gstpluginfeature.c:
|
||||
fix doc snippet
|
||||
* tools/gst-inspect.c: (print_element_list):
|
||||
fix output of typefind
|
||||
add GPL header
|
||||
* tools/gst-launch.c:
|
||||
add GPL header
|
||||
|
||||
2004-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/elements/Makefile.am:
|
||||
|
|
|
@ -191,10 +191,10 @@ gst_plugin_feature_get_rank (GstPluginFeature *feature)
|
|||
return feature->rank;
|
||||
}
|
||||
/**
|
||||
* gst_plugin_feature_set_name:
|
||||
* gst_plugin_feature_get_name:
|
||||
* @feature: a feature
|
||||
*
|
||||
* Gets the name of a pluginfeature.
|
||||
* Gets the name of a plugin feature.
|
||||
*
|
||||
* Returns: the name
|
||||
*/
|
||||
|
|
|
@ -1,7 +1,32 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
||||
* 2000 Wim Taymans <wtay@chello.be>
|
||||
* 2004 Thomas Vander Stichele <thomas@apestaart.org>
|
||||
*
|
||||
* gst-inspect.c: tool to inspect the GStreamer registry
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "gst/gst-i18n-app.h"
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/control/control.h>
|
||||
#include <string.h>
|
||||
|
@ -750,15 +775,17 @@ print_element_list (void)
|
|||
GstTypeFindFactory *factory;
|
||||
|
||||
factory = GST_TYPE_FIND_FACTORY (feature);
|
||||
g_print ("%s: %s: ", plugin->desc.name, gst_plugin_feature_get_name (feature));
|
||||
if (factory->extensions) {
|
||||
guint i = 0;
|
||||
g_print ("%s type: ", plugin->desc.name);
|
||||
while (factory->extensions[i]) {
|
||||
g_print ("%s%s", i > 0 ? ", " : "", factory->extensions[i]);
|
||||
i++;
|
||||
}
|
||||
} else
|
||||
g_print ("%s type: N/A\n", plugin->desc.name);
|
||||
g_print ("\n");
|
||||
} else {
|
||||
g_print (_("no extensions\n"));
|
||||
}
|
||||
}
|
||||
else if (GST_IS_SCHEDULER_FACTORY (feature)) {
|
||||
GstSchedulerFactory *factory;
|
||||
|
|
|
@ -1,3 +1,26 @@
|
|||
/* GStreamer
|
||||
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
||||
* 2000 Wim Taymans <wtay@chello.be>
|
||||
* 2004 Thomas Vander Stichele <thomas@apestaart.org>
|
||||
*
|
||||
* gst-launch.c: tool to launch GStreamer pipelines from the command line
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue