Re: [PATCH] Re: [PATCH] Multi protocol support (stage #1)

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

 



Klaus Schmidinger wrote:
Manu Abraham wrote:
...
Looking at an application POV, the application will need to

     // check whether the stream has a S2 descriptor
    if (s2 descriptor) {
        // this is backward compatible mode
// in this mode, check whether the multiple input stream flag exists

        if (multiple_input_stream_flag) {
            // Now HP & LP stream s exists
            // Provide feedback to user that HP/LP streams exists
            provide_user_feedback(params);

// get info from user whether he is interested in the HP or LP stream
            if (user_feedback == HP) {
                // tune to normal DVB-S
            } else if (user_feedback == LP) {
                // tune to DVB-S2
// to tune to DVB-S2 , we need to send the stream_identifier
                // from the s2 satellite delivery system descriptor
                tune_dvbs2(params);
            }
        }
    }
In this POV, to provide the user feedback, i think the a feedback
control knob would be nice rather than using ISI in conjunction with
delivery system.

A knob to control it, such as STREAM_PRIO_HP/STREAM_PRIO_LP , But this
is at an application POV, not the API.
But to make applications consistent with this control, we may use this
control in the API itself.

This "feedback" thing is not a good idea IMHO. What if a recording is
to start? Usually there is no user around to ask at that time. Also,
when a user zaps through the channels, he shouldn't have to make such
decisions for every channel he tunes to.

If there really needs to be a distinction, it should be a property of the
individual channel. Meaning, if there are two different streams for
one programme, make that two different channels. Well, maybe that's nothing
the driver needs to be concerned with.

Ok, looking at Christophe Thommeret's reply, i think that is a very good thought


Manu


_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux