summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-06 20:24:12 +0000
committersumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-04-06 20:24:12 +0000
commit12c97177bbb4608957b35496cd99b2188a1b6b15 (patch)
tree20190f3c04f5ba3e36c667e8e7e8c181199787d1
parentb7c373cafcfc66d04c7fb02e4ba7fa95d7e387b2 (diff)
downloadATCD-12c97177bbb4608957b35496cd99b2188a1b6b15.tar.gz
CVS:
CVS:
-rw-r--r--TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.cpp b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.cpp
index 5e53cd2e9f5..8850a72decf 100644
--- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.cpp
+++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/mpeg_server/Video_Control_State.cpp
@@ -122,7 +122,9 @@ Video_Control_State::init_video (const Video_Control::INITvideoPara &init_para,
VIDEO_SINGLETON::instance ()->SendPicture (&frame);
}
else if (VIDEO_SINGLETON::instance ()->video_format == VIDEO_MPEG1) {
- VIDEO_SINGLETON::instance ()->SendPacket (1, 0, 0, 0);
+ VIDEO_SINGLETON::instance ()->SendPacket (1, 0, 0, 0, 1); //
+ // make the first_time flag = 1, so that the packet gets sent
+ // correctly using UDP
}
else {
fprintf (stderr, "VS: VIDEO_SINGLETON::instance ()->video_format %d not supported.\n",