[vlc-commits] chromecast: Reindent after last changes
Hugo Beauzée-Luyssen
git at videolan.org
Tue Aug 21 13:40:01 CEST 2018
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Aug 20 17:08:58 2018 +0200| [f3830d253f2aebfe15a4a5780453d0faf67fde7e] | committer: Hugo Beauzée-Luyssen
chromecast: Reindent after last changes
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f3830d253f2aebfe15a4a5780453d0faf67fde7e
---
modules/stream_out/chromecast/chromecast_ctrl.cpp | 56 +++++++++++------------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp
index eb1f1361ea..441dba7d17 100644
--- a/modules/stream_out/chromecast/chromecast_ctrl.cpp
+++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp
@@ -240,12 +240,12 @@ int intf_sys_t::httpd_file_fill( uint8_t *psz_request, uint8_t **pp_data, int *p
char *psz_art;
{
- vlc::threads::mutex_locker lock( m_lock );
- if( !m_art_url )
- {
- return VLC_EGENERIC;
- }
- psz_art = strdup( m_art_url );
+ vlc::threads::mutex_locker lock( m_lock );
+ if( !m_art_url )
+ {
+ return VLC_EGENERIC;
+ }
+ psz_art = strdup( m_art_url );
}
stream_t *s = vlc_stream_NewURL( m_module, psz_art );
@@ -455,10 +455,10 @@ bool intf_sys_t::isStateReady() const
void intf_sys_t::setPacing(bool do_pace)
{
{
- vlc::threads::mutex_locker locker( m_lock );
- if( m_pace == do_pace )
- return;
- m_pace = do_pace;
+ vlc::threads::mutex_locker locker( m_lock );
+ if( m_pace == do_pace )
+ return;
+ m_pace = do_pace;
}
m_pace_cond.signal();
}
@@ -513,25 +513,25 @@ void intf_sys_t::sendInputEvent(enum cc_input_event event, union cc_input_arg ar
on_input_event_itf on_input_event;
void *data;
{
- vlc::threads::mutex_locker locker( m_lock );
- on_input_event = m_on_input_event;
- data = m_on_input_event_data;
+ vlc::threads::mutex_locker locker( m_lock );
+ on_input_event = m_on_input_event;
+ data = m_on_input_event_data;
- switch (event)
- {
- case CC_INPUT_EVENT_EOF:
- if (m_input_eof != arg.eof)
- m_input_eof = arg.eof;
- else
- {
- /* Don't send twice the same event */
- on_input_event = NULL;
- data = NULL;
- }
- break;
- default:
- break;
- }
+ switch (event)
+ {
+ case CC_INPUT_EVENT_EOF:
+ if (m_input_eof != arg.eof)
+ m_input_eof = arg.eof;
+ else
+ {
+ /* Don't send twice the same event */
+ on_input_event = NULL;
+ data = NULL;
+ }
+ break;
+ default:
+ break;
+ }
}
if (on_input_event)
More information about the vlc-commits
mailing list