projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tee: Check for the removed pad flag also in the slow pushing path
[platform/upstream/gstreamer.git]
/
gst
/
gsterror.h
diff --git
a/gst/gsterror.h
b/gst/gsterror.h
index
eab6c00
..
9cb6d40
100644
(file)
--- a/
gst/gsterror.h
+++ b/
gst/gsterror.h
@@
-13,8
+13,8
@@
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
*
* 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., 5
9 Temple Place - Suite 330
,
- * Boston, MA 0211
1-1307
, USA.
+ * Free Software Foundation, Inc., 5
1 Franklin St, Fifth Floor
,
+ * Boston, MA 0211
0-1301
, USA.
*/
#ifndef __GST_ERROR_H__
*/
#ifndef __GST_ERROR_H__
@@
-53,7
+53,7
@@
G_BEGIN_DECLS
* @GST_CORE_ERROR_MISSING_PLUGIN: used if a plugin is missing.
* @GST_CORE_ERROR_CLOCK: used for clock related errors.
* @GST_CORE_ERROR_DISABLED: used if functionality has been disabled at
* @GST_CORE_ERROR_MISSING_PLUGIN: used if a plugin is missing.
* @GST_CORE_ERROR_CLOCK: used for clock related errors.
* @GST_CORE_ERROR_DISABLED: used if functionality has been disabled at
- * compile time
(Since: 0.10.13)
.
+ * compile time.
* @GST_CORE_ERROR_NUM_ERRORS: the number of core error types.
*
* Core errors are errors inside the core GStreamer library.
* @GST_CORE_ERROR_NUM_ERRORS: the number of core error types.
*
* Core errors are errors inside the core GStreamer library.
@@
-124,6
+124,9
@@
typedef enum
* @GST_RESOURCE_ERROR_SYNC: used when a synchronize on the resource fails.
* @GST_RESOURCE_ERROR_SETTINGS: used when settings can't be manipulated on.
* @GST_RESOURCE_ERROR_NO_SPACE_LEFT: used when the resource has no space left.
* @GST_RESOURCE_ERROR_SYNC: used when a synchronize on the resource fails.
* @GST_RESOURCE_ERROR_SETTINGS: used when settings can't be manipulated on.
* @GST_RESOURCE_ERROR_NO_SPACE_LEFT: used when the resource has no space left.
+ * @GST_RESOURCE_ERROR_NOT_AUTHORIZED: used when the resource can't be opened
+ * due to missing authorization.
+ * (Since: 1.2.4)
* @GST_RESOURCE_ERROR_NUM_ERRORS: the number of resource error types.
*
* Resource errors are for any resource used by an element:
* @GST_RESOURCE_ERROR_NUM_ERRORS: the number of resource error types.
*
* Resource errors are for any resource used by an element:
@@
-146,6
+149,7
@@
typedef enum
GST_RESOURCE_ERROR_SYNC,
GST_RESOURCE_ERROR_SETTINGS,
GST_RESOURCE_ERROR_NO_SPACE_LEFT,
GST_RESOURCE_ERROR_SYNC,
GST_RESOURCE_ERROR_SETTINGS,
GST_RESOURCE_ERROR_NO_SPACE_LEFT,
+ GST_RESOURCE_ERROR_NOT_AUTHORIZED,
GST_RESOURCE_ERROR_NUM_ERRORS
} GstResourceError;
GST_RESOURCE_ERROR_NUM_ERRORS
} GstResourceError;
@@
-170,9
+174,9
@@
typedef enum
* @GST_STREAM_ERROR_FORMAT: used when the stream is of the wrong format
* (for example, wrong caps).
* @GST_STREAM_ERROR_DECRYPT: used when the stream is encrypted and can't be
* @GST_STREAM_ERROR_FORMAT: used when the stream is of the wrong format
* (for example, wrong caps).
* @GST_STREAM_ERROR_DECRYPT: used when the stream is encrypted and can't be
- * decrypted because this is not supported by the element.
(Since: 0.10.20)
+ * decrypted because this is not supported by the element.
* @GST_STREAM_ERROR_DECRYPT_NOKEY: used when the stream is encrypted and
* @GST_STREAM_ERROR_DECRYPT_NOKEY: used when the stream is encrypted and
- * can't be decrypted because no suitable key is available.
(Since: 0.10.20)
+ * can't be decrypted because no suitable key is available.
* @GST_STREAM_ERROR_NUM_ERRORS: the number of stream error types.
*
* Stream errors are for anything related to the stream being processed:
* @GST_STREAM_ERROR_NUM_ERRORS: the number of stream error types.
*
* Stream errors are for anything related to the stream being processed:
@@
-231,17
+235,26
@@
typedef enum
#define GST_STREAM_ERROR gst_stream_error_quark ()
/**
#define GST_STREAM_ERROR gst_stream_error_quark ()
/**
- * GST_ERROR_SYSTEM:
+ * GST_ERROR_SYSTEM:
(skip):
*
* Builds a string using errno describing the previously failed system
* call. To be used as the debug argument in #GST_ELEMENT_ERROR.
*/
#define GST_ERROR_SYSTEM ("system error: %s", g_strerror (errno))
*
* Builds a string using errno describing the previously failed system
* call. To be used as the debug argument in #GST_ELEMENT_ERROR.
*/
#define GST_ERROR_SYSTEM ("system error: %s", g_strerror (errno))
+GST_API
gchar *gst_error_get_message (GQuark domain, gint code);
gchar *gst_error_get_message (GQuark domain, gint code);
+
+GST_API
GQuark gst_stream_error_quark (void);
GQuark gst_stream_error_quark (void);
+
+GST_API
GQuark gst_core_error_quark (void);
GQuark gst_core_error_quark (void);
+
+GST_API
GQuark gst_resource_error_quark (void);
GQuark gst_resource_error_quark (void);
+
+GST_API
GQuark gst_library_error_quark (void);
G_END_DECLS
GQuark gst_library_error_quark (void);
G_END_DECLS