#include "sbGStreamerService.h"#include "sbGStreamerMediacoreUtils.h"#include <gst/pbutils/descriptions.h>#include <glib.h>#include <sbLibraryLoaderUtils.h>#include <nsIEnvironment.h>#include <nsIProperties.h>#include <nsIFile.h>#include <nsILocalFile.h>#include <nsStringGlue.h>#include <prlog.h>#include <prenv.h>#include <nsServiceManagerUtils.h>#include <nsDirectoryServiceUtils.h>#include <nsAppDirectoryServiceDefs.h>#include <nsComponentManagerUtils.h>#include <nsThreadUtils.h>#include <nsXULAppAPI.h>#include <nsISimpleEnumerator.h>#include <nsIPrefBranch.h>#include <sbStringUtils.h>Go to the source code of this file.
Macros | |
| #define | GSTREAMER_COMPREG_LAST_MODIFIED_TIME_PREF "songbird.mediacore.gstreamer.compreg_last_modified_time" |
| #define | LOG(args) /* nothing */ |
| #define | TRACE(args) /* nothing */ |
Functions | |
| static const char * | get_rank_name (gint rank) |
| nsresult | SetEnvVar (const nsAString &aName, const nsAString &aValue) |
| #define GSTREAMER_COMPREG_LAST_MODIFIED_TIME_PREF "songbird.mediacore.gstreamer.compreg_last_modified_time" |
Definition at line 54 of file sbGStreamerService.cpp.
| #define LOG | ( | args | ) | /* nothing */ |
To log this class, set the following environment variable in a debug build:
NSPR_LOG_MODULES=sbGStreamerService:5 (or :3 for LOG messages only)
Definition at line 78 of file sbGStreamerService.cpp.
| #define TRACE | ( | args | ) | /* nothing */ |
Definition at line 79 of file sbGStreamerService.cpp.
|
static |
Definition at line 84 of file sbGStreamerService.cpp.
| nsresult SetEnvVar | ( | const nsAString & | aName, |
| const nsAString & | aValue | ||
| ) |
Wrapper to set environment variables in a way that doesn't show up in the leak log. This leaks just as much but shuts up the buildbots. Yes, calling PR_SetEnv / nsIEnvironment::set() leaks. On purpose.
Definition at line 117 of file sbGStreamerService.cpp.