#356: assert false from video images
------------------------+---------------------------------------------------
Reporter: toots | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone: 1.0 beta
Component: Liquidsoap | Version: 0.9.2+svn
Keywords: | Mac: 1
Linux: 1 | Netbsd: 1
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
Comment(by mrpingouin):
Replying to [comment:5 toots]:
> When calling {{{VFrame.content}}}, a call is made to
{{{Frame.content}}},
> but if the frame is not complete, this will raise and assert false.
This is not about the frame being complete, just about the layer being the
last one. With our old frames, which were always stereo audio, i.e. only
one layer, this check would correspond to checking that the frame size is
the right one. It has nothing to do with the frame position (last break)
it's only about layout.
> I understand that {{{content_of_type}}} creates a new layer when it does
not exist,
> but this is not the case for {{{content}}} as I can read..
Right. This is why the problem is hard to find: the call to {{{content}}}
spots an anomaly, but the faulty code is the one who abusively called
{{{content_of_type}}}.
(I didn't investigate the new error. I just quickly tried to spot the
relevant line in Frame but the SVN version changed.)
--
Ticket URL: <http://savonet.rastageeks.org/ticket/356#comment:6>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac