~ubuntu-branches/ubuntu/trusty/gstreamer1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to gst/gstregistry.c

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2012-08-08 18:12:33 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120808181233-riejwxprfsxh1njl
Tags: 0.11.93-1
* New upstream release:
  + debian/libgstreamer.symbols:
    - Update symbols file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1121
1121
            filename, file_size, file_mtime)) {
1122
1122
      g_warning ("External plugin loader failed. This most likely means that "
1123
1123
          "the plugin loader helper binary was not found or could not be run. "
1124
 
          "%s", (g_getenv ("GST_PLUGIN_PATH") != NULL) ?
1125
 
          "If you are running an uninstalled GStreamer setup, you might need "
1126
 
          "to update your gst-uninstalled script so that the "
1127
 
          "GST_PLUGIN_SCANNER environment variable gets set." : "");
 
1124
          "You might need to set the GST_PLUGIN_SCANNER environment variable "
 
1125
          "if your setup is unusual. This should normally not be required "
 
1126
          "though.");
1128
1127
      context->helper_state = REGISTRY_SCAN_HELPER_DISABLED;
1129
1128
    }
1130
1129
  }
1553
1552
 
1554
1553
  /* GST_PLUGIN_PATH specifies a list of directories to scan for
1555
1554
   * additional plugins.  These take precedence over the system plugins */
1556
 
  plugin_path = g_getenv ("GST_PLUGIN_PATH");
 
1555
  plugin_path = g_getenv ("GST_PLUGIN_PATH_1_0");
 
1556
  if (plugin_path == NULL)
 
1557
    plugin_path = g_getenv ("GST_PLUGIN_PATH");
1557
1558
  if (plugin_path) {
1558
1559
    char **list;
1559
1560
    int i;
1571
1572
  /* GST_PLUGIN_SYSTEM_PATH specifies a list of plugins that are always
1572
1573
   * loaded by default.  If not set, this defaults to the system-installed
1573
1574
   * path, and the plugins installed in the user's home directory */
1574
 
  plugin_path = g_getenv ("GST_PLUGIN_SYSTEM_PATH");
 
1575
  plugin_path = g_getenv ("GST_PLUGIN_SYSTEM_PATH_1_0");
 
1576
  if (plugin_path == NULL)
 
1577
    plugin_path = g_getenv ("GST_PLUGIN_SYSTEM_PATH");
1575
1578
  if (plugin_path == NULL) {
1576
1579
    char *home_plugins;
1577
1580
 
1661
1664
  gboolean have_cache = TRUE;
1662
1665
 
1663
1666
  default_registry = gst_registry_get ();
1664
 
  registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
 
1667
 
 
1668
  registry_file = g_strdup (g_getenv ("GST_REGISTRY_1_0"));
 
1669
  if (registry_file == NULL)
 
1670
    registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
1665
1671
  if (registry_file == NULL) {
1666
1672
    registry_file = g_build_filename (g_get_user_cache_dir (),
1667
1673
        "gstreamer-" GST_API_VERSION, "registry." TARGET_CPU ".bin", NULL);
1721
1727
 *
1722
1728
 * Returns: %TRUE if GStreamer will use the child helper process when
1723
1729
 * rebuilding the registry.
1724
 
 *
1725
 
 * Since: 0.10.10
1726
1730
 */
1727
1731
gboolean
1728
1732
gst_registry_fork_is_enabled (void)
1737
1741
 * Applications might want to disable/enable spawning of a child helper process
1738
1742
 * when rebuilding the registry. See gst_registry_fork_is_enabled() for more
1739
1743
 * information.
1740
 
 *
1741
 
 * Since: 0.10.10
1742
1744
 */
1743
1745
void
1744
1746
gst_registry_fork_set_enabled (gboolean enabled)
1768
1770
 *
1769
1771
 * Returns: %TRUE if the registry has been updated successfully (does not
1770
1772
 *          imply that there were changes), otherwise %FALSE.
1771
 
 *
1772
 
 * Since: 0.10.12
1773
1773
 */
1774
1774
gboolean
1775
1775
gst_update_registry (void)
1808
1808
 * every time a feature is added or removed from the registry.
1809
1809
 *
1810
1810
 * Returns: the feature list cookie.
1811
 
 *
1812
 
 * Since: 0.10.26
1813
1811
 */
1814
1812
guint32
1815
1813
gst_registry_get_feature_list_cookie (GstRegistry * registry)