Commit f5b95a38 authored by Benjamin Drung's avatar Benjamin Drung Committed by Rafaël Carré

Fix typo: bandwith -> bandwidth.

Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent 07156e7e
...@@ -1077,7 +1077,7 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet ...@@ -1077,7 +1077,7 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet
if( strcmp( "connect", string ) == 0 ) if( strcmp( "connect", string ) == 0 )
{ {
/* Connection bandwith */ /* Connection bandwidth */
tmp_rtmp_packet = rtmp_encode_onBWDone( p_thread, AMF_CALL_ONBWDONE ); tmp_rtmp_packet = rtmp_encode_onBWDone( p_thread, AMF_CALL_ONBWDONE );
tmp_buffer = rtmp_encode_packet( p_thread, tmp_rtmp_packet ); tmp_buffer = rtmp_encode_packet( p_thread, tmp_rtmp_packet );
...@@ -1085,13 +1085,13 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet ...@@ -1085,13 +1085,13 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet
i_ret = net_Write( p_thread, p_thread->fd, NULL, tmp_buffer, tmp_rtmp_packet->length_encoded ); i_ret = net_Write( p_thread, p_thread->fd, NULL, tmp_buffer, tmp_rtmp_packet->length_encoded );
if( i_ret != tmp_rtmp_packet->length_encoded ) if( i_ret != tmp_rtmp_packet->length_encoded )
{ {
msg_Err( p_thread, "failed send connection bandwith" ); msg_Err( p_thread, "failed send connection bandwidth" );
goto error; goto error;
} }
rtmp_packet_free( rtmp_packet ); rtmp_packet_free( rtmp_packet );
free( tmp_buffer ); free( tmp_buffer );
/* Server bandwith */ /* Server bandwidth */
tmp_rtmp_packet = rtmp_encode_server_bw( p_thread, RTMP_SERVER_BW ); tmp_rtmp_packet = rtmp_encode_server_bw( p_thread, RTMP_SERVER_BW );
tmp_buffer = rtmp_encode_packet( p_thread, tmp_rtmp_packet ); tmp_buffer = rtmp_encode_packet( p_thread, tmp_rtmp_packet );
...@@ -1099,7 +1099,7 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet ...@@ -1099,7 +1099,7 @@ rtmp_handler_invoke( rtmp_control_thread_t *p_thread, rtmp_packet_t *rtmp_packet
i_ret = net_Write( p_thread, p_thread->fd, NULL, tmp_buffer, tmp_rtmp_packet->length_encoded ); i_ret = net_Write( p_thread, p_thread->fd, NULL, tmp_buffer, tmp_rtmp_packet->length_encoded );
if( i_ret != tmp_rtmp_packet->length_encoded ) if( i_ret != tmp_rtmp_packet->length_encoded )
{ {
msg_Err( p_thread, "failed send server bandwith" ); msg_Err( p_thread, "failed send server bandwidth" );
goto error; goto error;
} }
rtmp_packet_free( rtmp_packet ); rtmp_packet_free( rtmp_packet );
......
...@@ -49,7 +49,7 @@ namespace dash ...@@ -49,7 +49,7 @@ namespace dash
* @return The bitrate required for this representation * @return The bitrate required for this representation
* in Bytes per seconds. * in Bytes per seconds.
* Will be a valid value, as the parser refuses Representation * Will be a valid value, as the parser refuses Representation
* without bandwith. * without bandwidth.
*/ */
int getBandwidth () const; int getBandwidth () const;
void setBandwidth ( int bandwidth ); void setBandwidth ( int bandwidth );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment