Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLMC
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
17
Issues
17
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
VLMC
Commits
27934ab6
Commit
27934ab6
authored
Nov 16, 2010
by
Rohit Yadav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
YouTubeUploader: Avoid assert failure, handle error...
parent
59e1e5bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
src/Services/YouTube/YouTubeUploader.cpp
src/Services/YouTube/YouTubeUploader.cpp
+5
-2
No files found.
src/Services/YouTube/YouTubeUploader.cpp
View file @
27934ab6
...
...
@@ -143,8 +143,11 @@ YouTubeUploader::uploadFinished()
parser
.
read
();
/* Checks VideoID parsed by the parser */
Q_ASSERT
(
parser
.
getVideoId
()
!=
""
);
QString
videoUrl
=
VIDEO_URL
+
parser
.
getVideoId
();
QString
videoUrl
;
if
(
parser
.
getVideoId
()
!=
""
)
videoUrl
=
VIDEO_URL
+
parser
.
getVideoId
();
else
videoUrl
=
""
;
/* Some error may've occured at YouTube */
emit
uploadOver
(
QString
(
videoUrl
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment