Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
53ccc56f
Commit
53ccc56f
authored
Mar 06, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* http, udp: update p_sout->i_out_pace_nocontrol.
parent
1d7b91d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
modules/access_output/http.c
modules/access_output/http.c
+8
-1
modules/access_output/udp.c
modules/access_output/udp.c
+9
-8
No files found.
modules/access_output/http.c
View file @
53ccc56f
...
...
@@ -2,7 +2,7 @@
* http.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id
: http.c,v 1.12 2004/03/03 13:25:53 fenrir Exp
$
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -239,6 +239,10 @@ static int Open( vlc_object_t *p_this )
p_access
->
pf_write
=
Write
;
p_access
->
pf_seek
=
Seek
;
/* update p_sout->i_out_pace_nocontrol */
p_access
->
p_sout
->
i_out_pace_nocontrol
++
;
return
VLC_SUCCESS
;
}
...
...
@@ -250,6 +254,9 @@ static void Close( vlc_object_t * p_this )
sout_access_out_t
*
p_access
=
(
sout_access_out_t
*
)
p_this
;
sout_access_out_sys_t
*
p_sys
=
p_access
->
p_sys
;
/* update p_sout->i_out_pace_nocontrol */
p_access
->
p_sout
->
i_out_pace_nocontrol
--
;
httpd_StreamDelete
(
p_sys
->
p_httpd_stream
);
httpd_HostDelete
(
p_sys
->
p_httpd_host
);
...
...
modules/access_output/udp.c
View file @
53ccc56f
...
...
@@ -2,7 +2,7 @@
* udp.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id
: udp.c,v 1.24 2004/03/05 00:14:19 fenrir Exp
$
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -269,6 +269,10 @@ static int Open( vlc_object_t *p_this )
msg_Info
(
p_access
,
"Open: addr:`%s' port:`%d'"
,
psz_dst_addr
,
i_dst_port
);
free
(
psz_dst_addr
);
/* update p_sout->i_out_pace_nocontrol */
p_access
->
p_sout
->
i_out_pace_nocontrol
++
;
return
VLC_SUCCESS
;
}
...
...
@@ -301,13 +305,10 @@ static void Close( vlc_object_t * p_this )
sout_BufferDelete
(
p_access
->
p_sout
,
p_sys
->
p_buffer
);
}
#if defined( UNDER_CE )
CloseHandle
(
(
HANDLE
)
p_sys
->
p_thread
->
i_handle
);
#elif defined( WIN32 )
closesocket
(
p_sys
->
p_thread
->
i_handle
);
#else
close
(
p_sys
->
p_thread
->
i_handle
);
#endif
net_Close
(
p_sys
->
p_thread
->
i_handle
);
/* update p_sout->i_out_pace_nocontrol */
p_access
->
p_sout
->
i_out_pace_nocontrol
--
;
free
(
p_sys
);
msg_Info
(
p_access
,
"Close"
);
...
...
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