mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
gst/playback/gstplaybasebin.c: Don't print the URI as part of the error message, it makes error dialogs look rather u...
Original commit message from CVS: * gst/playback/gstplaybasebin.c: (prepare_output): Don't print the URI as part of the error message, it makes error dialogs look rather ugly, especially if the URI is very long or has characters in it that need escaping.
This commit is contained in:
parent
8c46daa929
commit
bd323373ad
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-02-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/playback/gstplaybasebin.c: (prepare_output):
|
||||
Don't print the URI as part of the error message, it
|
||||
makes error dialogs look rather ugly, especially if
|
||||
the URI is very long or has characters in it that
|
||||
need escaping.
|
||||
|
||||
2006-02-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/playback/gstplaybasebin.c: (prepare_output):
|
||||
|
|
|
@ -1452,10 +1452,11 @@ prepare_output (GstPlayBaseBin * play_base_bin)
|
|||
"text file, or the media file was not recognized.")), (NULL));
|
||||
} else if (!no_media) {
|
||||
GST_ELEMENT_ERROR (play_base_bin, STREAM, CODEC_NOT_FOUND,
|
||||
(_("You do not have a decoder installed to handle \"%s\". You might need to install the necessary plugins."), play_base_bin->uri), (NULL));
|
||||
(_("You do not have a decoder installed to handle this file. "
|
||||
"You might need to install the necessary plugins.")), (NULL));
|
||||
} else {
|
||||
GST_ELEMENT_ERROR (play_base_bin, STREAM, WRONG_TYPE,
|
||||
(_("\"%s\" is not a media file"), play_base_bin->uri), (NULL));
|
||||
(_("This is not a media file")), (NULL));
|
||||
}
|
||||
return FALSE;
|
||||
} else if (got_subtitle && !got_video) {
|
||||
|
|
Loading…
Reference in a new issue