[FFmpeg-devel] UDP multicasts mixed up on receive due to wrong bind()
Jindrich Makovicka
makovick
Tue Oct 14 15:24:33 CEST 2008
On Tue, 14 Oct 2008 14:01:21 +0100 (BST)
M?ns Rullg?rd <mans at mansr.com> wrote:
>
> Jindrich Makovicka wrote:
> > Hi,
> >
> > current SVN ffmpeg mixes up two different multicasts with the same
> > port at the input. For example, when we have two different MPEG-TS
> > multicast channels, trying
> >
> > ./ffplay -an udp://239.194.10.11:1234 &
> >
> > ./ffplay -an udp://239.194.10.12:1234 &
> >
> > causes the second command play randomly one of the two multicasts,
> > depending on whose SDT/PAT arrives first.
> >
> > Supplying the multicast address to bind() as in the patch fixes the
> > issue.
>
> Wrong patch.
oops. this one should do.
--
Jindrich Makovicka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udp.diff
Type: text/x-patch
Size: 672 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081014/e18a62c7/attachment.bin>
More information about the ffmpeg-devel
mailing list