GStreamer Plugin Writer's Guide | ||
---|---|---|
<<< Previous | The Data Processing Loop | Next >>> |
All of the explanation so far has presumed that the buffer contains audio data with many samples. Video should be regarded differently since a video buffer often contains only 1 frame. In this case some of the complexity of dparams isn't required but the other benefits still make it useful for video parameters. If a buffer only contains one frame of video, only a single call to GST_DPMAN_PREPROCESS should be required. For more than one frame per buffer, treat it the same as the audio case.
<<< Previous | Home | Next >>> |
The Data Processing Loop | Up | Other Element Types |