pleorasrc: add packet-size property

Also, if auto-negotiate (packet-size=0) is used (the default), and
negotiation fails, use the safe packet size of 1476 bytes.
This commit is contained in:
Joshua M. Doe
2019-10-17 14:58:37 -04:00
parent 351aab12d8
commit e4ae64b44b
2 changed files with 33 additions and 9 deletions

View File

@@ -55,6 +55,7 @@ struct _GstPleoraSrc
gchar *multicast_group;
gint port;
gboolean receiver_only;
gint packet_size;
guint32 last_frame_count;
guint32 total_dropped_frames;