pleorasrc: set caps before _create to avoid bad negotiation

Caps must be fixated before _create, otherwise initial caps is
width=1,height=1 which cause some sinks to create incorrect window
sizes.
This commit is contained in:
Joshua M. Doe
2019-10-21 11:58:15 -04:00
parent 88f7a82818
commit 76e67ee5fc
2 changed files with 17 additions and 1 deletions

View File

@@ -45,6 +45,7 @@ struct _GstPleoraSrc
PvPipeline *pipeline;
PvDevice *device;
PvStream *stream;
PvBuffer *pvbuffer;
/* properties */
gchar *device_id;