Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
456
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
434bd4b5
Commit
434bd4b5
authored
9 years ago
by
Steve Lhomme
Committed by
Jean-Baptiste Kempf
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
chromecast: move buildMessage() in the class
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
40886529
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/stream_out/chromecast/chromecast.h
+4
-0
4 additions, 0 deletions
modules/stream_out/chromecast/chromecast.h
modules/stream_out/chromecast/chromecast_ctrl.cpp
+3
-3
3 additions, 3 deletions
modules/stream_out/chromecast/chromecast_ctrl.cpp
with
7 additions
and
3 deletions
modules/stream_out/chromecast/chromecast.h
+
4
−
0
View file @
434bd4b5
...
...
@@ -114,6 +114,10 @@ struct intf_sys_t
private
:
int
sendMessage
(
castchannel
::
CastMessage
&
msg
);
castchannel
::
CastMessage
buildMessage
(
std
::
string
namespace_
,
castchannel
::
CastMessage_PayloadType
payloadType
,
std
::
string
payload
,
std
::
string
destinationId
=
DEFAULT_CHOMECAST_RECEIVER
);
enum
connection_status
conn_status
;
unsigned
i_requestId
;
...
...
This diff is collapsed.
Click to expand it.
modules/stream_out/chromecast/chromecast_ctrl.cpp
+
3
−
3
View file @
434bd4b5
...
...
@@ -52,9 +52,9 @@
* @param destinationId the destination idenifier
* @return the generated CastMessage
*/
static
castchannel
::
CastMessage
buildMessage
(
std
::
string
namespace_
,
castchannel
::
CastMessage_PayloadType
payloadType
,
std
::
string
payload
,
std
::
string
destinationId
=
DEFAULT_CHOMECAST_RECEIVER
)
castchannel
::
CastMessage
intf_sys_t
::
buildMessage
(
std
::
string
namespace_
,
castchannel
::
CastMessage_PayloadType
payloadType
,
std
::
string
payload
,
std
::
string
destinationId
)
{
castchannel
::
CastMessage
msg
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment