Package net.bramp.ffmpeg.adapter
Class FFmpegPacketsAndFramesAdapter
java.lang.Object
net.bramp.ffmpeg.adapter.FFmpegPacketsAndFramesAdapter
- All Implemented Interfaces:
JsonDeserializer<FFmpegFrameOrPacket>
public class FFmpegPacketsAndFramesAdapter
extends Object
implements JsonDeserializer<FFmpegFrameOrPacket>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext)
-
Constructor Details
-
FFmpegPacketsAndFramesAdapter
public FFmpegPacketsAndFramesAdapter()
-
-
Method Details
-
deserialize
public FFmpegFrameOrPacket deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserializein interfaceJsonDeserializer<FFmpegFrameOrPacket>- Throws:
JsonParseException
-