[streaming] Re: Other output messing the binary Stdout?
Polyphem
polyphem at gmail.com
Wed Nov 23 09:56:28 CET 2005
Hello
I investigated this issue I little further more and found this:
http://www.ethereal.com/lists/ethereal-dev/200406/msg00527.html
Tried to compile myself with no luck, run into an error
"windres: share/vlc_win32_rc.rc:15: syntax error"
during final make :( ...
Changed this file in the source
https://trac.videolan.org/vlc/file/trunk/modules/access_output/file.c
From:
==============================
if( !strcmp( p_access->psz_name, "-" ) )
{
p_access->p_sys->i_handle = STDOUT_FILENO;
msg_Dbg( p_access, "using stdout" );
}
==============================
To:
==============================
if( !strcmp( p_access->psz_name, "-" ) )
{
#if defined(MSDOS) || defined(OS2) || defined(WIN32)
setmode (STDOUT_FILENO, O_BINARY);
#endif
p_access->p_sys->i_handle = STDOUT_FILENO;
msg_Dbg( p_access, "using stdout" );
}
==============================
Maybe anyone else can give it a try and report the outcome? Would be
thankful.
Best Regards
Polyphem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/streaming/attachments/20051123/b346ffa4/attachment.htm
More information about the streaming
mailing list