mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Quote filenames in transcode pipeline
Needed for files with spaces in their names.
This commit is contained in:
parent
af9dd0832f
commit
46bd685388
1 changed files with 2 additions and 2 deletions
|
|
@ -25,8 +25,8 @@ static int transcode(const char *infile, const char *outfile,
|
||||||
init();
|
init();
|
||||||
|
|
||||||
snprintf(pipeline_str, 1024,
|
snprintf(pipeline_str, 1024,
|
||||||
"filesrc location=%s ! decodebin2 ! audioconvert ! "
|
"filesrc location=\"%s\" ! decodebin2 ! audioconvert ! "
|
||||||
"vorbisenc ! oggmux ! filesink location=%s",
|
"vorbisenc ! oggmux ! filesink location=\"%s\"",
|
||||||
infile, outfile);
|
infile, outfile);
|
||||||
|
|
||||||
pipeline = gst_parse_launch(pipeline_str, NULL);
|
pipeline = gst_parse_launch(pipeline_str, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue