[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Can a tagged stream block be a source block?

From: Martin Braun
Subject: Re: [Discuss-gnuradio] Can a tagged stream block be a source block?
Date: Thu, 04 Dec 2014 19:40:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 12/04/2014 04:08 PM, Martin Braun wrote:
> Actually, it's probably something I should fix before people start
> writing tags by hand. David, until I have that ready you should change
> that offending line to:
> 102     if(!d_n_input_items_reqd.empty() && d_n_input_items_reqd[0] ==
> 0) { // Otherwise, it's already set from a previous call
> parse_length_tags() will then never be called.
> calculate_output_stream_length() however should return a valid length.

This was actually simpler than expected:

I also put an example in there (see the 2nd commit).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]