projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a08e22
)
filesrc: no need for a translated message for impossible error cases
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 7 Apr 2014 14:38:17 +0000
(15:38 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 7 Apr 2014 14:38:17 +0000
(15:38 +0100)
The message is too technical anyway, the default message works
just fine here as well.
plugins/elements/gstfilesrc.c
patch
|
blob
|
history
diff --git
a/plugins/elements/gstfilesrc.c
b/plugins/elements/gstfilesrc.c
index
8f6b904
..
536ea6b
100644
(file)
--- a/
plugins/elements/gstfilesrc.c
+++ b/
plugins/elements/gstfilesrc.c
@@
-540,9
+540,9
@@
was_socket:
}
lseek_wonky:
{
- GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
- (
_("File \"%s\" could not seek back to zero after seek test.")
,
- src->filename)
, (NULL)
);
+ GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
(NULL),
+ (
"Could not seek back to zero after seek test in file \"%s\""
,
+ src->filename));
goto error_close;
}
error_close: