• Philippe Gorley's avatar
    encoder: lazy initialize video stream · dfdee183
    Philippe Gorley authored
    Sets up video streams upon receiving the first video frame. Audio
    streams are still initialized as soon as possible.
    
    This allows a video encoder to use the pixel format of its received
    frames, and to set up a hardware transcoding pipeline if it receives
    a hardware frame.
    
    Change-Id: I622fc44b6096d63d7423837d2f2ec15680548a83
    dfdee183
media_encoder.cpp 26.6 KB