Changeset 2075:40cb5be7baaf in roaraudio for plugins/gstreamer0.10
- Timestamp:
- 07/19/09 05:35:48 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/gstreamer0.10/roarsink.c
r1600 r2075 142 142 static void gst_roarsink_init (GstRoarSink * roarsink, GstRoarSinkClass * klass) { 143 143 memset(&(roarsink->con), 0, sizeof(roarsink->con)); 144 roar sink->con.fh = -1;144 roar_connect_fh(&(roarsink->con), -1); 145 145 roarsink->fd = -1; 146 146 roarsink->host = NULL; … … 163 163 164 164 /* no fd, we're done with the template caps */ 165 if (roar sink->con.fh< 0 || roarsink->cur_caps == NULL) {165 if (roar_get_connection_fh(&(roarsink->con)) < 0 || roarsink->cur_caps == NULL) { 166 166 GST_LOG_OBJECT(roarsink, "getcaps called, returning template caps"); 167 167 return NULL; … … 282 282 GstRoarSink *roarsink = GST_ROARSINK(asink); 283 283 284 if ((roarsink->fd == -1) && (roar sink->con.fh== -1))284 if ((roarsink->fd == -1) && (roar_get_connection_fh(&(roarsink->con)) == -1)) 285 285 return TRUE; 286 286
Note: See TracChangeset
for help on using the changeset viewer.